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]
Other format: [Raw text]

Re: [LIBIBERTY PATCH]: fix getopt.c compile failure with cc


"Kaveh R. Ghazi" <ghazi@caipclassic.rutgers.edu> writes:

> 2005-07-23  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
> 
> 	* getopt.c: Include ansidecl.h before system headers.

This is OK.  Thanks.

You might want to look into why ansidecl.h is tampering with const.
That should only happen if ansidecl.h thinks that the compiler is not
C90-compliant.  We currently require a C90 compliant compiler in any
case; why does ansidecl.h think the compiler is not C90 compliant?

In fact, our decision to require C90 compliance suggests that we can
simplify ansidecl.h considerably.

Ian


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