This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: turning link warning to error
- From: Ian Lance Taylor <iant at google dot com>
- To: "St. Denis\, David" <david dot stdenis at siemens dot com>
- Cc: "libstdc++\ at gcc dot gnu dot org" <libstdc++ at gcc dot gnu dot org>
- Date: Thu, 19 Mar 2009 14:10:33 -0700
- Subject: Re: turning link warning to error
- References: <6344D3A1F3677A429F994D643E17F84F01E31839E6@USCIMMBX001.net.plm.eds.com>
"St. Denis, David" <david.stdenis@siemens.com> writes:
> What option should I use to turn the following warning into an error when linking?
>
> ÂÂ Â/usr/lib64/gcc/x86_64-suse-linux/4.1.2/../../../../x86_64-suse-linux/bin/ld: warning: libstdc++.so.5, needed by /tc_ref/TOOLBOX/lnx64/TcCrypto/1.1.1/lib/libTcCrypto.so, may conflict with libstdc++.so.6
Using -Wl,--fatal-warnings should work.
Ian