Share

LibOFX

Tracker: Bugs

5 doesn't compile on Mac OS X Tiger, libiconv usage issue - ID: 1959437
Last Update: Settings changed ( ryandesign )

0.8.3 compiles fine on Mac OS X 10.4.11 Intel, but 0.9.0 has this problem:

/usr/bin/g++-4.0 -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../inc
-I/opt/local/include/OpenSP
-DMAKEFILE_DTD_PATH=\"/opt/local/share/libofx/dtd/\" -I/opt/local/include
-O2 -MT ofx_preproc.lo -MD -MP -MF .deps/ofx_preproc.Tpo -c ofx_preproc.cpp
-fno-common -DPIC -o .libs/ofx_preproc.o
ofx_preproc.cpp: In function 'int ofx_proc_file(void*, const char*)':
ofx_preproc.cpp:196: error: invalid conversion from 'char**' to 'const
char**'
ofx_preproc.cpp:196: error: initializing argument 2 of 'size_t
libiconv(void*, const char**, size_t*, char**, size_t*)'
make[2]: *** [ofx_preproc.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2


Ryan Schmidt ( ryandesign ) - 2008-05-07 11:51

5

Open

None

Nobody/Anonymous

Install or compile problem

None

Public


Comment ( 1 )




Date: 2009-08-24 06:13
Sender: ryandesign

The problem remains with 0.9.1. The problem only exists on Mac OS X 10.4.
On 10.5 it compiles fine.

Do you know that the iconv function prototype differs by OS and OS
version? You need to detect which iconv function prototype is in use on the
OS at build time and adapt to it.


Log in to comment.

Attached File

No Files Currently Attached

Change ( 1 )

Field Old Value Date By
summary 0.9.0 doesn't compile on Mac OS X 2009-08-24 06:13 ryandesign