[Wayland-bugs] [Bug 60624] New: Using GNU specific macro values without defining _GNU_SOURCE

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Feb 10 21:37:15 PST 2013


https://bugs.freedesktop.org/show_bug.cgi?id=60624

          Priority: medium
            Bug ID: 60624
          Assignee: wayland-bugs at lists.freedesktop.org
           Summary: Using GNU specific macro values without defining
                    _GNU_SOURCE
          Severity: normal
    Classification: Unclassified
                OS: Linux (All)
          Reporter: aperezhrd at gmail.com
          Hardware: x86-64 (AMD64)
            Status: NEW
           Version: unspecified
         Component: weston
           Product: Wayland

Created attachment 74578
  --> https://bugs.freedesktop.org/attachment.cgi?id=74578&action=edit
-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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-bugs/attachments/20130211/ac89ae82/attachment.html>


More information about the Wayland-bugs mailing list