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: pragma warnings



> > 
> > #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; }


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