SunOS compiler specific issue

M

mathieu

Hello,

I am struggling with the following error on a SunOS C++ compiler:

"/opt/SUNWspro/prod/include/CC/Cstd/./map", line 251: Error: Multiple
declaration for std::map<const unsigned char*const, const
gdcm::Segment<unsigned char>*, std::less<const unsigned char*const>,
std::allocator<std::pair<const unsigned char*const, const
gdcm::Segment<unsigned char>*>>>::insert(const std::pair<const
unsigned char*const, const gdcm::Segment<unsigned char>*>&).
"/.../gdcm/src/gdcmSegmentedPalette.h", line 221: Where: While
specializing "std::map<const unsigned char*const, const
gdcm::Segment<unsigned char>*, std::less<const unsigned char*const>,
std::allocator<std::pair<const unsigned char*const, const
gdcm::Segment<unsigned char>*>>>".
"/.../gdcm/src/gdcmSegmentedPalette.h", line 221: Where:
Instantiated from gdcm::ExpandPalette<unsigned char>(const unsigned
char*, unsigned, std::vector<unsigned char>&).
"/.../gdcm/src/gdcmSegmentedPalette.h", line 268: Where:
Instantiated from non-template code.
1 Error(s) detected.

Source file is here:

http://cvs.creatis.insa-lyon.fr/viewvc/gdcm/src/gdcmSegmentedPalette.h?view=annotate


Any comment welcome,
-Mathieu
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,776
Messages
2,569,603
Members
45,189
Latest member
CryptoTaxSoftware

Latest Threads

Top