Can you disable warnings individually?

Jeffrey A Law law@cygnus.com
Thu Sep 9 02:46:00 GMT 1999


  In message < 37D77BE2.336EE32D@baltimore.ie >you write:
  > Patrick,
  > 
  > #pragma warning(disable:####)
  > is a standard way to disable warning number ####
  > but this way to disable warnings may be specific to win32 platforms.
  > The man pages are not exhaustive, you should check
  > the manual that comes with the compiler. It's a hefty
  > manual, several hundred pages.
No, there is no way to disable warnings with pragmas.

Whether or not providing that kind of feature is a good idea is a great
debate subject.  Look through the list archives.

jeff




More information about the Gcc-help mailing list