I have many applications to link with many third party libraries and I want to ensure that we don't mistakenly let a binary link both libstdc+ +.so.5 and libstdc++.so.6 (i.e. mix libraries built with different versions of the compiler).
Is it possible to force the link to produce an error instead of a warning for this condition? What would the linker options look like to do so? We are building on SUSE Linux on both SLES9 (gcc3.3.3) and 10 (gcc4.1.3). Here's an example of the warning: /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 Thanks _______________________________________________ help-gplusplus mailing list help-gplusplus@gnu.org http://lists.gnu.org/mailman/listinfo/help-gplusplus