This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: sparc-sun-solaris2.8 headers: fixinc, cpplib
- To: Gerald Pfeifer <pfeifer at dbai dot tuwien dot ac dot at>
- Subject: Re: sparc-sun-solaris2.8 headers: fixinc, cpplib
- From: Robert Lipe <robertlipe at usa dot net>
- Date: Sun, 17 Dec 2000 09:14:55 -0600
- Cc: gcc at gcc dot gnu dot org, Bruce Korb <bkorb at gnu dot org>, Neil Booth <neil at daikokuya dot demon dot co dot uk>
- References: <Pine.BSF.4.30.0012171523420.36071-100000@deneb.dbai.tuwien.ac.at>
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