This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: killing STDC_0_IN_SYSTEM_HEADERS
- To: Paul Eggert <eggert at twinsun dot com>
- Subject: Re: killing STDC_0_IN_SYSTEM_HEADERS
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Sun, 09 Jan 2000 21:57:36 -0700
- cc: zack at rabi dot columbia dot edu, gcc at gcc dot gnu dot org
- Reply-To: law at cygnus dot com
0237.SAA03598@shade.twinsun.com>you write:
> Date: Fri, 07 Jan 2000 19:54:47 -0500
> From: Zack Weinberg <zack@rabi.columbia.edu>
>
> What was wrong with the previous approach of having the Solaris
> CPP_SPEC define __STDC__=0 unless -ansi?
>
> I originally installed the __STDC__=0 solution, but RMS felt that it
> was better for user programs if __STDC__ was 1 on all platforms
> (unless you specify -traditional, of course). This makes it easier to
> port user programs that assume GCC semantics.
I agree.
> In other words, he felt it more important to promote compatibility
> among GCC platforms than to promote compatibility between GCC and Sun C.
> Both goals are important, but here they're mutually exclusive.
Agreed.
jeff