Created attachment 74578 [details] -D_GNU_SOURCE added to configure.ac I've just checked out the weston code from git and some code in the master branch like tty.c uses macros like O_CLOEXEC that requires _GNU_SOURCE to be defined to be used. I've thought may be adding -D_GNU_SOURCE to CFLAGS in configure.ac would make unnecesary to define it everytime GNU specific macros are used.
I'd prefer to just add it to the files that need it instead of a project wide flag.
Closing this one. I don't see build problems or warnings, and as I mentioned, I prefer to keep the _GNU_SOURCE #defines in the files that need them.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.