public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Stefan Schwarzer <sts@ica1.uni-stuttgart.de>
To: egcs@cygnus.com
Subject: request: warning messages
Date: Sun, 31 Jan 1999 23:58:00 -0000	[thread overview]
Message-ID: <13990.15633.236566.585563@boa.ica1.uni-stuttgart.de> (raw)

Trying to figure out the docs in the info to egcs-1.1.1
I am trying to suppress pages of warning messages arising in some slightly 
incompatible X-headers on our system which declare functions to be 
implicitly of 'int' return type. 

Short of requesting each single warning message separately, i was
hoping that the following command line would result in more or less 
all warnings (forget about ansi stuff for the moment) MINUS the 
implicit int warnings:
  
g++ -c life.cc  -g -W -Wall -Wno-implicit-int -MMD -frepo -I/usr/dt/include -I/usr/openwin/include

However, egcs-1.1.1 (with new-abi, on solaris 2.5.1/2.7, DUNIX 3.2,
4.0), starts the output with: 
  
/usr/openwin/include/X11/Xlib.h:2063: warning: return-type of `XSetTransientForH
int' defaults to `int'
/usr/openwin/include/X11/Xlib.h:2071: warning: return-type of `XActivateScreenSa
ver' defaults to `int'
[...]

Could it be considered in future releases to respect the order of the
-W... specifications so that -Wno-implicit-int would take precedence?
Or did I just misinterprete the doc's completely?

Thanks - Stefan. 

-- 
Stefan Schwarzer                office:  +49-(0)711-685-7606   fax: x-3658 
Uni Stuttgart, ICA 1            e-mail:          sts@ica1.uni-stuttgart.de
Pfaffenwaldring 27              pgp public key available on request/finger 
70569 Stuttgart, Germany             http://www.ica1.uni-stuttgart.de/~sts

             reply	other threads:[~1999-01-31 23:58 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-01-31 23:58 Stefan Schwarzer [this message]
  -- strict thread matches above, loose matches on Subject: below --
1999-01-29 23:22 N8TM
     [not found] <13990.15633.236566.585563.cygnus.egcs@boa.ica1.uni-stuttgart.de>
1999-01-21  1:06 ` Jason Merrill
1999-01-21  1:50   ` Jeffrey A Law
1999-01-31 23:58     ` Jeffrey A Law
1999-01-29 10:55   ` Stefan Schwarzer
1999-01-29 12:59     ` Joe Buck
1999-01-29 14:56       ` Gerald Pfeifer
1999-01-29 15:07       ` Martin v. Loewis
1999-01-29 15:30         ` Joe Buck
1999-01-29 15:51           ` Jeffrey A Law
1999-01-30  1:50     ` Andris Pavenis
1999-01-31 23:58   ` Jason Merrill

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=13990.15633.236566.585563@boa.ica1.uni-stuttgart.de \
    --to=sts@ica1.uni-stuttgart.de \
    --cc=egcs@cygnus.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).