This is the mail archive of the gcc@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: sparc-sun-solaris2.8 headers: fixinc, cpplib


Gerald Pfeifer wrote:
> If I compile the trivial program
>   #include <stdio.h>
>   int main() { }
> with `g++ x.cc -Wall` I get the following warnings:
> 
> In file included from /sw/test/gcc/SunOS/lib/gcc-lib/sparc-sun-solaris2.8/2.97/include/stdio.h:15,
>                  from x.cc:1:
> /usr/include/iso/stdio_iso.h:1: warning: ignoring #pragma ident
> 

> 1\ The pragma itself, which should be removed by fixinc, I guess.
> 
>    #pragma ident   "@(#)stdio_iso.h        1.2     99/10/25 SMI"

The pragma should remain, but the warning should be suppressed in system
headers.  This problem got worse within the last 24 hours. Warnings in
systems headers have been visible for a couple of weeks now.  I reported
this before.


RJL

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