Bug #824
undeclared identifier EXV_ICONV_CONST
Start date:
03 May 2012
Due date:
% Done:
100%
Estimated time:
Description
If 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
EXV_ICONV_CONST
to const
solves this problem.
Associated revisions
History
Updated by Robin Mills over 9 years ago
Thomas:
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
#ifdef EXV_HAVE_ICONV
#define EXV_ICONV_CONST const
#endif
Updated by Robin Mills over 9 years ago
- Status changed from New to Resolved
- % Done changed from 0 to 100
Bug #824: undeclared identifier EXV_ICONV_CONST