Project

General

Profile

Bug #824

undeclared identifier EXV_ICONV_CONST

Added by Thomas Beutlich about 7 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
miscellaneous
Target version:
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 identifier
Defining EXV_ICONV_CONST to const solves this problem.

Associated revisions

Revision 2737 (diff)
Added by Robin Mills about 7 years ago

Bug #824: undeclared identifier EXV_ICONV_CONST

History

#1

Updated by Robin Mills about 7 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. */
  1. undef EXV_HAVE_ICONV

#ifdef EXV_HAVE_ICONV
#define EXV_ICONV_CONST const
#endif

#2

Updated by Robin Mills about 7 years ago

  • Assignee set to Robin Mills
#3

Updated by Robin Mills almost 7 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100
#4

Updated by Robin Mills almost 6 years ago

  • Status changed from Resolved to Closed

Fixed in 0.24.

Also available in: Atom PDF