🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.bug
Article #493

gcc "unrecognized option" warnings

#493
From: Ken Raeburn
Date: Mon, 24 Jul 1989 06:20
11 lines
963 bytes
These seem to be generated when gcc doesn't actually use a flag that
has been passed to it.  At Athena, I've got gcc configured to pass
through a "-Z" flag to the linker; however, when "gcc -c" is used, it
complains "unrecognized option `-Z'", but doesn't exit with an error
status indication, and does perform the compilation.

It should not flag as unrecognized options that it would recognize
were it to invoke other programs, since it can indeed recognize those
options.  For options that are truly unrecognized, a non-zero exit
status would be justified.
Technical Details
Message-ID: <8907240620.AA14689@LYCUS.MIT.EDU>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ATHENA.MIT.EDU!raeburn

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ATHENA.MIT.EDU!raeburn
From: raeburn@ATHENA.MIT.EDU (Ken Raeburn)
Newsgroups: gnu.gcc.bug
Subject: gcc "unrecognized option" warnings
Message-ID: <8907240620.AA14689@LYCUS.MIT.EDU>
Date: 24 Jul 89 06:20:01 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 11