Bug #824

undeclared identifier EXV_ICONV_CONST

Added by Thomas Beutlich about 5 years ago. Updated almost 4 years ago.

Status:ClosedStart date:03 May 2012
Priority:NormalDue date:
Assignee:Robin Mills% Done:

100%

Category:miscellaneous
Target version:0.24

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
Added by Robin Mills about 5 years ago

Bug #824: undeclared identifier EXV_ICONV_CONST

History

#1 Updated by Robin Mills about 5 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 5 years ago

  • Assignee set to Robin Mills

#3 Updated by Robin Mills about 5 years ago

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

#4 Updated by Robin Mills almost 4 years ago

  • Status changed from Resolved to Closed

Fixed in 0.24.

Also available in: Atom PDF

Redmine Appliance - Powered by TurnKey Linux