This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: turning link warning to error


"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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]