This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: -D_ANSI_C_SOURCE on AIX



  In message <jmzorzdhx5.fsf@envy.cygnus.com>you write:
  > Jeffrey A Law <law@cygnus.com> writes:
  > 
  > > Actually, I'd wonder if we should always define _ANSI_C_SOURCE, unless
  > > -traditional was given.  Remember, by default GCC is an (almost) ANSI
  > > compiler.
  > 
  > `strict ANSI compliance' in this context means `breaks programs
  > written for UNIX/POSIX/AIX systems.'  _ANSI_C_SOURCE switches off
  > things like the declaration of fdopen() in stdio.h.  You want it left
  > undefined for most normal programs.
OK.  Just wondering.    Thanks for the clarification.
jeff


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]