upgrade of doxygen-1.5.7 error

Ryan Schmidt ryandesign at macports.org
Wed Nov 12 15:18:35 PST 2008


On Nov 12, 2008, at 09:11, Jonathan Stickel wrote:

>>>> On Nov 10, 2008, at 14:12, Jonathan Stickel wrote:
>>>>> I get this error when upgrading doxygen to 1.5.7:
>>>>>
>>>>> c++ -c -pipe -D__FreeBSD__=6 -Wall -W -O2 -I../qtools -o ../ 
>>>>> objects/portable.o portable.cpp
>>>>> portable.cpp: In function 'size_t portable_iconv(void*, const  
>>>>> char**, size_t*, char**, size_t*)':
>>>>> portable.cpp:392: error: invalid conversion from 'char**' to  
>>>>> 'const char**'
>>>>> portable.cpp:392: error:   initializing argument 2 of 'size_t  
>>>>> libiconv(void*, const char**, size_t*, char**, size_t*)'
>>>>> gmake[2]: *** [../objects/portable.o] Error 1
>>>>>
>>>>> I have Mac OS 10.4.11.  Any suggestions?
>>>>

> I have gcc42 installed and had it selected as the default gcc  
> (using gcc_select).  Switching to gcc40 (Apple) resolved the problem.

Thanks for figuring that out and letting us know! MacPorts goes to  
some lengths to make the gcc_select setting irrelevant for ports, but  
doxygen isn't playing nice with us. I filed a ticket:

http://trac.macports.org/ticket/17213



More information about the macports-users mailing list