-
Notifications
You must be signed in to change notification settings - Fork 89
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Define _GNU_SOURCE for a declaration of vasprintf #237
base: master
Are you sure you want to change the base?
Conversation
This is necessary to build with compilers which do not support implicit function declarations (a language feature that was removed from C99). Defining _GNU_SOURCE during the build exposes that the imported util-linux sources are not built with some HAVE_* macros defined, for things that the glibc headers provide with _GNU_SOURCE. These HAVE_* macros need to be defined as well.
CLA Assistant Lite bot:
You can retrigger this bot by commenting recheck in this Pull Request |
TAG Bot New tag: 6.0.10 |
TAG Bot New tag: 6.0.11 |
TAG Bot New tag: 6.0.12 |
TAG Bot New tag: 5.9.39 |
TAG Bot New tag: 5.9.40 |
TAG Bot New tag: 6.0.13 |
TAG Bot New tag: 6.0.14 |
TAG Bot New tag: 6.0.15 |
TAG Bot New tag: 6.0.16 |
TAG Bot New tag: 6.0.17 |
TAG Bot New tag: 6.0.18 |
TAG Bot New tag: 6.0.19 |
TAG Bot New tag: 6.0.21 |
TAG Bot New tag: 6.0.23 |
TAG Bot New tag: 6.5.0 |
TAG Bot New tag: 6.5.1 |
TAG Bot New tag: 6.5.2 |
TAG Bot New tag: 6.5.3 |
TAG Bot New tag: 6.5.4 |
This is necessary to build with compilers which do not support implicit function declarations (a language feature that was removed from C99).
Defining GNU_SOURCE during the build exposes that the imported util-linux sources are not built with some HAVE* macros defined, for things that the glibc headers provide with GNU_SOURCE. These HAVE* macros need to be defined as well.
Related to: