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]

egcs-980115, cc1: Invalid option `-Wno-unkown-pragmas'


Hi

Where has the option gone ?

--
#pragma ident

int main(void)
{
  return 0;
}
--

$ gcc -Wno-unkown-pragmas -c pragma-test.c 
cc1: Invalid option `-Wno-unkown-pragmas'
$ gcc -Wall -c pragma-test.c 
pragma-test.c:3: warning: ignoring pragma: ident
$ strings
/opt/compilers/egcs/lib/gcc-lib/sparc-sun-solaris2.4/egcs-2.91.04/cc1 |
fgrep pragmas
-Wunknown-pragmas
-Wno-unknown-pragmas

Regards

-- 
 Chris Johns  Networks, Plessey Asia Pacfic Pty. Ltd.
  mailto:ccj@acm.org    mailto:cjohns@plessey.com.au


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