Mathieu Malaterre wrote:
Ok this was yet-another-weird-dll thingy, one cannot do:

class GDCM_EXPORT String : std::string { ... }


Please, learn a little bit more about C++. You should never inherit from std::string (or any std::* container) as their functions or destructor are not virtual. That can (and will) spell disaster for anyone else trying to use your library/functions or even for yourself if you go through pointers or references.

--
Gonzalo Garramuño
[EMAIL PROTECTED]

AMD4400 - ASUS48N-E
GeForce7300GT
Xubuntu Gutsy
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to