undeclared identifier EXV_ICONV_CONST
|Status:||Closed||Start date:||03 May 2012|
|Assignee:||Robin Mills||% Done:|
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.
#1 Updated by Robin Mills about 5 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