No subject


Fri Jan 14 08:05:08 EST 2011


(instead of the default /MD used by Cmake). Can't remember if this was
using shared or static lib.

Does anyone still have this compiler ?

HTH

On Fri, Mar 25, 2011 at 7:06 PM, Bill Lorensen <bill.lorensen at gmail.com> wr=
ote:
> Mathieu,
>
> Several files including gdcmObject.cxx have no code in them. Your comment=
 in
> gdcmObject.cxx says:
> =A0 // Don't ask why, but this is EXTREMELY important on Win32
> =A0 // Apparently the compiler is doing something special the first time =
it
> compiles
> =A0 // this instanciation unit
> =A0 // If this fake file is not present I get an unresolved symbol for ea=
ch
> function
> =A0 // of the gdcm::Object class
>
> When linking these "empty" files, VS10 reports several warnings:
> =A0warning LNK4221: This object file does not define any previously undef=
ined
> public symbols, so it will not be used by any link operation that consume=
s
> this library
>
> I have removed this file from the lib as well as
> gdcmProgressEvent.cxx, gdcmString.cxx, gdcmException.cxx
> gdcmDeflateStream.cxx and gdcmByteSwap.cxx
>
> When I build the modified lib, I do not get the warnoings, nor do I get a=
ny
> errors.
>
> What compiler was giving the errors you mention in the comments?
>
> Bill
>



--=20
Mathieu


More information about the Insight-developers mailing list