More test results...
Stephen M. Webb
stephen.webb@bregmasoft.com
Tue Mar 5 13:11:00 GMT 2002
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
More information about the Libstdc++
mailing list