[Dcmlib] borland compilation problems
Mathieu Malaterre
mathieu.malaterre at kitware.com
Mon Aug 22 01:57:34 CEST 2005
Michal Kurgan wrote:
> On Sunday 21 of August 2005 12:45, luca.picello at libero.it wrote:
>
>>GDCM is bcc6 ready in cvs repository.
>>good luck
>>
>
>
> I tried with no luck, here are pathes for 0.6 and 1.0.
> Now it will produce dll's with borland make but now there is problem with
> linking of examples and tests, on both versions. Missing reference to
> WinMain, probably should be added in cmake config file somewhere...
>
>
>>Luca
>
>
> Pathes add includes for borland platform (stdlib.h and ctype.h), also they add
> undef of GetCurrentTime for borland compiler... Shouldn't this be done also
> for mingw? i haven't tried...
Thanks for the patches.
A quick note though, could you please use :
cvs -q dif -u3
to create the patches next time ? It makes them more readable.
The GetCurrentTime is really a mess, at all cost you should really avoid
messing with function declare in windows API, they do all kind of crazy
redefine of macro and symbols are never what you want... so the safest
is to avoid 'common' name.
Regards
Mathieu
Ps: you patches should be applied in the next few days.
More information about the Dcmlib
mailing list