undeclared identifier EXV_ICONV_CONST
EXV_HAVE_ICONV is defined compilation of exiv2 0.23 on VS2010 fails with error
1>..\..\src\convert.cpp(1524): error C2065: 'EXV_ICONV_CONST' : undeclared identifierDefining
constsolves this problem.
Updated by Robin Mills over 8 years ago
Thanks for bringing this to our attention. I've never built with EXV_HAVE_ICONV set!I've added code (SVN:2737) to exv_msvc.h (in msvc/include and msvc64/include) to deal with this.
/* Define to 1 if you have the `iconv' function. */
- undef EXV_HAVE_ICONV
#define EXV_ICONV_CONST const