[ptx] [gcc-4.0 related] Failed to compile CVS, ChangeLog revision: 1.54

Pablo d'Angelo pablo.dangelo at web.de
Thu Sep 22 06:56:06 BST 2005


Hi Jean


> This is related to gcc-4.0 compiler.
> It compiles fine with gcc-3.4

It works fine on my machine (ubuntu 64 bit, gcc 4, boost 1.31)

Which version of boost do you use?

>> I got the following error message:
>>
>> Making all in Panorama
>> make[2]: entrant dans le répertoire «  
>> /usr/local/src/panorama/hugin/hugin-0.5-cvs20050919/src/Panorama »
>> if /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H  
>> "-I." -I../../src/include -I../../src/include -I../../src/foreign   
>> -DHasPANO    -g -O2 -MT PanoToolsInterface.lo -MD -MP -MF  
>> ".deps/PanoToolsInterface.Tpo" -c -o PanoToolsInterface.lo  
>> PanoToolsInterface.cpp; \
>> then mv -f ".deps/PanoToolsInterface.Tpo"  
>> ".deps/PanoToolsInterface.Plo"; else rm -f  
>> ".deps/PanoToolsInterface.Tpo"; exit 1; fi
>>  g++ -DHAVE_CONFIG_H -I. -I../../src/include -I../../src/include  
>> -I../../src/foreign -DHasPANO -g -O2 -MT PanoToolsInterface.lo -MD  
>> -MP -MF .deps/PanoToolsInterface.Tpo -c PanoToolsInterface.cpp -o  
>> PanoToolsInterface.o
>> /usr/include/boost/iterator/counting_iterator.hpp:32: error:  
>> 'mpl_::bool_<true>::value' is not a valid template argument for type  
>> 'bool' because it is a non-constant expression
>> /usr/include/boost/iterator/counting_iterator.hpp:79: error:  
>> 'mpl_::bool_<true>::value' is not a valid template argument for type  
>> 'bool' because it is a non-constant expression

ciao
   Pablo



More information about the ptx mailing list