Re: [CMake] Re: Changing MD -> MT (+patch for free toolkit)

2008-02-22 Thread Mathieu Malaterre
On Tue, Feb 19, 2008 at 5:42 PM, Gonzalo Garramuño <[EMAIL PROTECTED]> wrote: > Mathieu Malaterre wrote: > > On Feb 19, 2008 5:43 AM, Gonzalo Garramuño <[EMAIL PROTECTED]> wrote: > >> Mathieu Malaterre wrote: > >>> Ok this was yet-another-weird-dll thingy, one cannot do: > >>> > >>> class GDCM

Re: [CMake] Re: Changing MD -> MT (+patch for free toolkit)

2008-02-19 Thread Gonzalo Garramuño
Mathieu Malaterre wrote: On Feb 19, 2008 5:43 AM, Gonzalo Garramuño <[EMAIL PROTECTED]> wrote: 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++. Oh thank you ! I'll tak

Re: [CMake] Re: Changing MD -> MT (+patch for free toolkit)

2008-02-19 Thread Mathieu Malaterre
On Feb 19, 2008 5:43 AM, Gonzalo Garramuño <[EMAIL PROTECTED]> wrote: > 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++. Oh thank you ! I'll take your advi

Re: [CMake] Re: Changing MD -> MT (+patch for free toolkit)

2008-02-18 Thread Gonzalo Garramuño
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.

[CMake] Re: Changing MD -> MT (+patch for free toolkit)

2008-02-17 Thread Mathieu Malaterre
Ok this was yet-another-weird-dll thingy, one cannot do: class GDCM_EXPORT String : std::string { ... } std::string is already exported (dllexport/dllimport) which was causing the linker to complain... As a side note, the free toolkit + a recent PSDK does have all the c standard libs now. I also