AWARE [SYSTEMS]
AWare Systems, , Home TIFF and LibTiff Mailing List Archive

LibTiff Mailing List

TIFF and LibTiff Mailing List Archive
June 2005

Previous Thread
Next Thread

Previous by Thread
Next by Thread

Previous by Date
Next by Date

Contact

The TIFF Mailing List Homepage
Archive maintained by AWare Systems



New Datamatrix section



Valid HTML 4.01!



Thread

2005.06.02 17:48 "trying to compile with different compiler options", by <melser.anton@gmail.com>
2005.06.02 18:25 "Re: trying to compile with different compiler options", by Edward Lam
2005.06.02 19:32 "Re: trying to compile with different compiler options", by Andrey Kiselev

2005.06.02 17:48 "trying to compile with different compiler options", by <melser.anton@gmail.com>

Hi,

I see that it is possible to compile in __stdcall on the cl, so it
turns out that things aren't so bad for trying to call from vb6 - or
are they:

        cl /nologo /Ox /MD /Gz /W3 -I.   -DCHECK_JPEG_YCBCR_SUBSAMPLING -DDEFAUL
T_EXTRASAMPLE_AS_ALPHA -DSTRIPCHOP_DEFAULT=TIFF_STRIPCHOP -DLOGLUV_SUPPORT -DNEX
T_SUPPORT -DTHUNDER_SUPPORT -DLZW_SUPPORT -DPACKBITS_SUPPORT -DCCITT_SUPPORT -DT
IF_PLATFORM_CONSOLE -DFILLODER_LSB2MSB  /c tif_dirinfo.c
tif_dirinfo.c
tif_dirinfo.c(326) : error C2152: 'function' : pointers to functions with differ
ent attributes
tif_dirinfo.c(326) : warning C4024: 'qsort' : different types for formal and act
ual parameter 4
tif_dirinfo.c(422) : error C2152: 'function' : pointers to functions with differ
ent attributes
tif_dirinfo.c(422) : warning C4024: 'bsearch' : different types for formal and a
ctual parameter 5
tif_dirinfo.c(450) : error C2152: 'function' : pointers to functions with differ
ent attributes
tif_dirinfo.c(450) : warning C4024: 'bsearch' : different types for formal and a
ctual parameter 5
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio\VC98\bin\N
MAKE.EXE"' : return code '0x2'
Stop.

It compiles fine if I leave the parameter in nmake.opt at GX, but
fails here if I change to Gz. Is this just going to be an impossible
task? Can someone with some winders C knowledge comment on this?

Cheers
Antoine

-- 
G System, The Evolving GUniverse - http://www.g-system.at