3.3.4 build report: powerpc-ibm-aix4.3.3.0

Ian Lance Taylor ian@wasabisystems.com
Fri Jun 4 03:08:00 GMT 2004


Gabriel Dos Reis <gdr@integrable-solutions.net> writes:

> There was no "const" in K+R.  I just had a quick look at gcc/system.h
> and discovered that we don't 
> 
>     #define const  /* nothing */
> 
> for K+R compiler, but we should.  And I believe that should have been
> done somewhere because otherwise we could not have been using K+R
> oompilers :-/

system.h includes libiberty.h which includes ansidecl.h which does

#define const

if this condition is false:

#if defined (__STDC__) || defined (_AIX) || (defined (__mips) && defined (_SYSTYPE_SVR4)) || defined(_WIN32) || (defined(__alpha) && defined(__cplusplus))

Ian



More information about the Gcc mailing list