This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
RE: pragma warnings
- To: "Richard Henderson" <rth at cygnus dot com>
- Subject: RE: pragma warnings
- From: "Jody Hagins" <jody at atdesk dot com>
- Date: Tue, 13 Jul 1999 12:39:14 -0400
- Cc: <egcs at egcs dot cygnus dot com>
> >
> > #pragma ident "string"
>
> Your pardon? Gcc supports pragma ident. At least on targets
> that define ASM_OUTPUT_IDENT.
Redhat 6.0 distribution.
rome.atdesk.com:jody> g++ -v
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/specs
gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)
rome.atdesk.com:jody> g++ -Wall a.cpp
a.cpp:1: warning: ignoring pragma: ignored
on the following code...
#pragma ident "JODY"
int main() { return 0; }