public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Passing GCC arguments up from source code
@ 2002-08-02 13:00 Hamilton, Steve
  0 siblings, 0 replies; only message in thread
From: Hamilton, Steve @ 2002-08-02 13:00 UTC (permalink / raw)
  To: 'gcc@gcc.gnu.org'

I'd like a way of passing compiler arguments up from specific source files.
For example, there are certain warning levels that I'd like to apply to
(almost) all of my files, and enforce with '-Werror'.  However, there are
some cases that I can't address.  For those cases, I'd like to turn off
specific warnings for that file only (e.g., using '#pragma ...').  How can I
do this?  Thanks.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-08-02 20:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-08-02 13:00 Passing GCC arguments up from source code Hamilton, Steve

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).