This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
More test results...
- From: Stephen M. Webb <stephen dot webb at bregmasoft dot com>
- To: libstdc++ at gcc dot gnu dot org
- Date: Tue, 5 Mar 2002 16:15:48 -0500
- Subject: More test results...
- Organization: Bregmasoft
- Reply-to: stephen dot webb at bregmasoft dot com
this time, I'm suddenly getting errors on my own productions code. Ah,
the joys of bleeding edge (software gingivitis?).
My problem is multiple definitions of std::numeric_limits symbols.
The link errors I get are (filenames have been changed to protect my
innocence):
xxx1.o(.bss+0x68): multiple definition of
`std::numeric_limits<std::basic_string<char, std::char_traits<char>,
std::allocator<char> > >::is_integer'
xxx2.o(.bss+0x0): first defined here
xxx3.o(.bss+0x0): multiple definition of
`std::numeric_limits<std::basic_string<char, std::char_traits<char>,
std::allocator<char> > >::is_integer'
xxx2.o(.bss+0x0): first defined here
collect2: ld returned 1 exit status
Since the only thing that changed here is a newer version of the
compiler and binutils, I'm assuming this is related to the recent
versioning changes.
FWIW, the numeric_limits here are used to select a template
specialization and should not even end up in the compiled code.
--
Stephen M. Webb