Re: F40 proposal: Porting Fedora to Modern C (System-Wide Change proposal)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 26 Oct 2022 at 13:24, Milan Crha wrote:
> Looking into the db.h file, it has there a comment that it can add the
> `u_int`, when the system doesn't provide it, but that related block is
> empty in Fedora. More interestingly, even when I add `#define
> __USE_MISC 1` at the very top of the program, thus the

Never ever do that. The __USE_xxx macros are internal, for glibc to
use. You should not ever check them or define them.

https://lwn.net/Articles/590381/

There are several public macros that you can use to enable additional
features, like -D_GNU_SOURCE or _D_DEFAULT_SOURCE, so use those not
the __USE_xxx ones.
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux