New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compile errors on Windows with master & 1.6.0 #171

Closed
jmckenna opened this Issue Jul 7, 2017 · 1 comment

Comments

Projects
None yet
2 participants
@jmckenna
Member

jmckenna commented Jul 7, 2017

Using Visual Studio 2012:

D:\build\mapserver-buildkit-2012\mapcache-git-20170707\lib\cache_tiff.c(521) : error C2440: 'function' : cannot convert from 'void (__cdecl *)(CPLErr,int,const char *)' to 'CPLErrorHandler'
D:\build\mapserver-buildkit-2012\mapcache-git-20170707\lib\cache_tiff.c(521) : warning C4024: 'CPLPushErrorHandlerEx' : different types for formal and actual parameter 1
D:\build\mapserver-buildkit-2012\mapcache-git-20170707\lib\cache_tiff.c(557) : warning C4018: '<' : signed/unsigned mismatch
D:\build\mapserver-buildkit-2012\mapcache-git-20170707\lib\cache_tiff.c(558) : warning C4018: '<' : signed/unsigned mismatch
D:\build\mapserver-buildkit-2012\mapcache-git-20170707\lib\cache_tiff.c(634) : error C2440: 'function' : cannot convert from 'void (__cdecl *)(CPLErr,int,const char *)' to 'CPLErrorHandler'
D:\build\mapserver-buildkit-2012\mapcache-git-20170707\lib\cache_tiff.c(634) : warning C4024: 'CPLPushErrorHandlerEx' : different types for formal and actual parameter 1
D:\build\mapserver-buildkit-2012\mapcache-git-20170707\lib\cache_tiff.c(684) : warning C4018: '<' : signed/unsigned mismatch
D:\build\mapserver-buildkit-2012\mapcache-git-20170707\lib\cache_tiff.c(685) : warning C4018: '<' : signed/unsigned mismatch
D:\build\mapserver-buildkit-2012\mapcache-git-20170707\lib\cache_tiff.c(792) : warning C4244: 'function' : conversion from 'toff_t' to 'size_t', possible loss of data
D:\build\mapserver-buildkit-2012\mapcache-git-20170707\lib\cache_tiff.c(812) : warning C4244: '=' : conversion from 'toff_t' to 'apr_size_t', possible loss of data
D:\build\mapserver-buildkit-2012\mapcache-git-20170707\lib\cache_tiff.c(826) : warning C4244: '=' : conversion from 'toff_t' to 'size_t', possible loss of data
D:\build\mapserver-buildkit-2012\mapcache-git-20170707\lib\cache_tiff.c(850) : warning C4244: 'function' : conversion from 'toff_t' to 'size_t', possible loss of data
D:\build\mapserver-buildkit-2012\mapcache-git-20170707\lib\cache_tiff.c(870) : warning C4244: '=' : conversion from 'toff_t' to 'apr_size_t', possible loss of data
D:\build\mapserver-buildkit-2012\mapcache-git-20170707\lib\cache_tiff.c(885) : warning C4244: '=' : conversion from 'toff_t' to 'size_t', possible loss of data
D:\build\mapserver-buildkit-2012\mapcache-git-20170707\lib\cache_tiff.c(994) : warning C4018: '<' : signed/unsigned mismatch
D:\build\mapserver-buildkit-2012\mapcache-git-20170707\lib\cache_tiff.c(997) : warning C4018: '<' : signed/unsigned mismatch
D:\build\mapserver-buildkit-2012\mapcache-git-20170707\lib\cache_tiff.c(1033) : warning C4018: '<' : signed/unsigned mismatch
D:\build\mapserver-buildkit-2012\mapcache-git-20170707\lib\cache_tiff.c(1034) : warning C4018: '<' : signed/unsigned mismatch
NMAKE : fatal error U1077: 'C:\PROGRA~2\MICROS~3.0\VC\bin\cl.exe' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\BIN\nmake.exe"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\BIN\nmake.exe"' : return code '0x2'
Stop.
@jmckenna

This comment has been minimized.

Show comment
Hide comment
@jmckenna

jmckenna Aug 14, 2017

Member

thanks!!!

Member

jmckenna commented Aug 14, 2017

thanks!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment