Christopher Faylor, le Thu 12 Jan 2006 13:13:39 -0500, a écrit : > On Thu, Jan 12, 2006 at 07:08:32PM +0100, Samuel Thibault wrote: > >But a portable program should _not_ assume that #defining _GNU_SOURCE > >implies that _POSIX_SOURCE. If a program not only needs posix stuff but > >also some GNU extras, it should #define _GNU_SOURCE _and_ _POSIX_SOURCE > >itself. > > I don't care about portable programs.
Then don't ask for your programs to get compiled under other systems than GNU. Defining _GNU_SOURCE without defining _POSIX_SOURCE just means you only target GNU systems. Cygwin is not a GNU system. > I'm interested in hearing if this will fix problems with programs > which build without problem on linux. Maybe, but it's a really _wrong_ approach which cannot but just degrade cygwin's POSIX compliancy. Regards, Samuel -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/