[ptx] Is hugin supposed to compile clean with gcc 4.0

Jean-Luc Coulon (f5ibh) jean.luc.coulon at gmail.com
Wed Aug 17 11:06:08 BST 2005


Hi,

I managed, after Dangelo latest update, to compile the CVS with gcc-3.4.
But it always failed with 4.0.

I've the following error (Changelog 1.50):

if x86_64-linux-gnu-g++ -DHAVE_CONFIG_H "-I." -I../../src/include  
-I../../src/foreign -I../../src/include -I..  
-I/usr/lib/wx/include/gtk-2.4 -DGTK_NO_CHECK_CASTS -D__WXGTK__  
-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES   -I/usr/include/gtk-1.2  
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -D_REENTRANT -DHasPANO   
-g -O2 -MT PreferencesDialog.o -MD -MP -MF  
".deps/PreferencesDialog.Tpo" -c -o PreferencesDialog.o  
PreferencesDialog.cpp; \
then mv -f ".deps/PreferencesDialog.Tpo" ".deps/PreferencesDialog.Po";  
else rm -f ".deps/PreferencesDialog.Tpo"; exit 1; fi
PreferencesDialog.cpp: In member function 'void  
PreferencesDialog::UpdateConfigData()':
PreferencesDialog.cpp:685: error: cast from 'void*' to 'int' loses  
precision
make[4]: *** [PreferencesDialog.o] Erreur 1
make[4]: quittant le répertoire «  
/usr/local/src/panorama/hugin/hugin-0.5-cvs20050817/src/hugin »
make[3]: *** [all-recursive] Erreur 1
make[3]: quittant le répertoire «  
/usr/local/src/panorama/hugin/hugin-0.5-cvs20050817/src/hugin »
make[2]: *** [all-recursive] Erreur 1
make[2]: quittant le répertoire «  
/usr/local/src/panorama/hugin/hugin-0.5-cvs20050817/src »
make[1]: *** [all-recursive] Erreur 1
make[1]: quittant le répertoire «  
/usr/local/src/panorama/hugin/hugin-0.5-cvs20050817 »
make: *** [build-stamp] Erreur 2

Regards

Jean-Luc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : https://www.email-lists.org/pipermail/ptx/attachments/20050817/e168b23b/attachment.bin


More information about the ptx mailing list