Building problem wtih current CVS head revision

Hello

I currently have the following problem on my debian linux etch amd64 
system:
g++ -g -Wall -x 
c++ -D__cplusplus -D_UNIX   -DXML_GENERIC -D_GL -D_WX -DTEMPLATES 
-DAMAYA_DEBUG   -D_SVG  -DTEMPLATES -DAM_REDLAND -I../../../redland/librdf 
-I../../../redland/raptor  -DANNOTATIONS -DDAV -DHT_DAV -DXML_DTD -DXML_NS 
-DHAVE_CONFIG_H -I. -I.. -I../../thotlib/include -I../../amaya -I../../amaya/f 
-I../../amaya/xpm -I../../libpng/zlib -I../libwww -I../../../libwww/Library/src 
-I../..../libwww/modules/md5 -I../../../libwww/modules/expat/lib    
-I../../annotlib -I../../annotlib/f -I../../davlib/h -I../../davlib/tree/h -I../../davlib/f   
-I/home/urs/bin/AmayaHEAD/wxWidgets/src/png -I/home/urs/bin/AmayaHEAD/wxWidgets/src/jpeg 
-I/home/urs/bin/AmayaHEAD/wxWidgets/src/tiff 
-I/home/urs/bin/AmayaHEAD/Amaya/linux/wxWidgets_RELEASE/lib/wx/include/gtk2-unicode-release-static-2.8 
-I/home/urs/bin/AmayaHEAD/wxWidgets/include -I/home/urs/bin/AmayaHEAD/wxWidgets/contrib/include 
-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -D__WXGTK__ -pthread    
-I/usr/include/freetype2  -c ../../amaya/wxdialog/DocInfoDlgWX.cpp -o 
wxdialog/DocInfoDlgWX.o
../../amaya/wxdialog/DocInfoDlgWX.cpp: In 
constructor ‘DocInfoDlgWX::DocInfoDlgWX(int, wxWindow*, int)’:
../../amaya/wxdialog/DocInfoDlgWX.cpp:49: error: invalid conversion 
from ‘const char*’ to ‘char*’

The repository revision of the file DocInfoDlgWX.cpp I have is 1.9.

"g++ -dumpversion" says 4.1.2.

(I really can't see a "conversion from const char* to char*" in the line 
where the error occurs. Ok, this is C++ and I am not familiar with it. 
But I remember that C++ is happy with converting around. int to const 
char* to char*?) However, uncommenting the line gets rid of the error.

I hope this is usefull for you.

Greetings
Urs

Received on Saturday, 10 May 2008 19:11:14 UTC