SunOS compiler specific issue

Discussion in 'C++' started by mathieu, Nov 13, 2007.

  1. mathieu

    mathieu Guest

    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
     
    mathieu, Nov 13, 2007
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Nishi Bhonsle
    Replies:
    17
    Views:
    940
    Nishi Bhonsle
    Sep 27, 2004
  2. Billy Patton

    testing on 64/32 Linux/SunOS

    Billy Patton, Apr 26, 2005, in forum: C++
    Replies:
    0
    Views:
    479
    Billy Patton
    Apr 26, 2005
  3. Berthold =?iso-8859-15?q?H=F6llmann?=

    compiling _tkinter.so (2.3) on SunOS 5.8

    Berthold =?iso-8859-15?q?H=F6llmann?=, Aug 26, 2003, in forum: Python
    Replies:
    0
    Views:
    357
    Berthold =?iso-8859-15?q?H=F6llmann?=
    Aug 26, 2003
  4. Replies:
    2
    Views:
    1,764
    gaool
    Sep 16, 2004
  5. gaool

    Buffer problem on SunOS

    gaool, Nov 22, 2004, in forum: Python
    Replies:
    1
    Views:
    582
    Donn Cave
    Nov 22, 2004
Loading...

Share This Page