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: OSR5 include file fixes


On Sun, Apr 30, 2000 at 04:36:07PM -0700, Bruce Korb wrote:
> 
> This patch will allow OSR5 to use the compiled fixincludes
> instead of the fixinc.sco script.

...
>  /*
> + *  "!__STDC__" is "!defined( __STRICT_ANSI__ )"
> + */
> +fix = {
> +    hackname = sco_strict_ansi;
> +    mach     = "i?86-*-sco3.2*";
> +    select   = "^[ \t]*#[ \t]*if.*!__STDC__";
> +    sed      = 's/!__STDC__/!defined(__STRICT_ANSI__)/g';
> +};

Instead of doing that, you should define STDC_0_IN_SYSTEM_HEADERS for
sco3.

zw

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