turning link warning to error
Ian Lance Taylor
iant@google.com
Thu Mar 19 21:10:00 GMT 2009
"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
More information about the Libstdc++
mailing list