This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: How is unexpected() defined?
- To: jack_reeves at bleading-edge dot com
- Subject: Re: How is unexpected() defined?
- From: Paolo Carlini <pcarlini at unitus dot it>
- Date: Mon, 12 Nov 2001 13:59:17 +0100
- Cc: libstdc++ at gcc dot gnu dot org, loreti at pd dot infn dot it
Hi,
I would like to support Jack Reeves' observations with the following experimental
findings: a new C++ compiler for Linux does exactly the same as GCC, another one (known
for its closeness to the standard) even refuses to compile the testcase with the following
error message (slightly edited ;-)
/home/paolo/XXXXX/xxxxxx/lib/libYYYY.a(eh_util.o): In function `std::unexpected(void)':
eh_util.o(.text+0x208): multiple definition of `std::unexpected(void)'
bug.o(.text+0xe74): first defined here
/usr/i686-pc-linux-gnu/bin/ld: Warning: size of symbol `std::unexpected(void)' changed
from 42
to 33 in eh_util.o
Cheers,
Paolo.