This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libmudflap/26120] mudflap behavior changes with trivial changes to build command
- From: "idht4n at hotmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 Jun 2006 16:22:48 -0000
- Subject: [Bug libmudflap/26120] mudflap behavior changes with trivial changes to build command
- References: <bug-26120-12129@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #8 from idht4n at hotmail dot com 2006-06-02 16:22 -------
(In reply to comment #7)
> g++f4 -o hello hello.o -lmudflap
>
> You need both -fmudlfap and -lmudflap when linking.
>
> This is not a bug.
>
OK - mostly my bad then. Sorry. But if you need them both, why doesn't it
complain at compile time? Instead it happily gives an executable that gives
bogus warnings, which IMHO is still a bug.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26120