[Bug 20474] Wine can't be built with GCC in C99 mode

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Oct 26 10:17:17 CDT 2009


http://bugs.winehq.org/show_bug.cgi?id=20474





--- Comment #8 from Yann Droneaud <yann at droneaud.fr>  2009-10-26 10:17:16 ---
In C99, not all POSIX, XOPEN features are available by default. Sources file
should use some defined. For example

#define _ISOC99_SOURCE

#define _POSIX_SOURCE
#define _POSIX_C_SOURCE 200112L

#define _XOPEN_SOURCE 600
#define _XOPEN_SOURCE_EXTENDED

BTW, this could be added to CPPFLAG or in config.h

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list