This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug driver/15303] When gcc sees an unrecognized option, the exit status indicates success
- From: "davida at pobox dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 27 Mar 2006 01:30:27 -0000
- Subject: [Bug driver/15303] When gcc sees an unrecognized option, the exit status indicates success
- References: <bug-15303-1313@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from davida at pobox dot com 2006-03-27 01:30 -------
As a specific example, using autoconf to attempt to portably determine whether
to use -pthreads (Solaris) or -pthread (Linux, etc) to request reentrant
libraries and thread library linkage, gcc will warn, but otherwise accept, the
wrong flag.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15303