[Image-SIG] VC++ 6.0 and makefile.win

Bernhard Herzog bh@intevation.de
24 Feb 2003 11:58:00 +0100


Jim Julian <julian@preferred.com> writes:

[...]
>          cl.exe -W3 -Ox -O2 -c -MD -nologo -I../kits  -I../kits
> -I../kits /c Dib.c
> Dib.c
> D:\MICROS~1\VC98\INCLUDE\basetsd.h(33) : <----  VC file
> error C2632: 'int' followed by 'int' is illegal

IIRC, this is due to a preprocessor macro defined in ImPlatform.h that
expands to int and causes problems in that Windows headerfile. I think
what I did at some point to solve this is to simply #include basetsd.h
before including Imaging.h in Dib.c.

HTH,

   Bernhard

-- 
Intevation GmbH                                 http://intevation.de/
Sketch                                 http://sketch.sourceforge.net/
MapIt!                                           http://www.mapit.de/