gsethi / rf-ace

Automatically exported from code.google.com/p/rf-ace
0 stars 0 forks source link

failed to compile on previously successful system #50

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
compiling with g++:

[rkreisbe@breve ~/rf-ace]$ g++ -v
Using built-in specs.
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man 
--infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla 
--enable-bootstrap --enable-shared --enable-threads=posix 
--enable-checking=release --with-system-zlib --enable-__cxa_atexit 
--disable-libunwind-exceptions --enable-gnu-unique-object 
--enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk 
--disable-dssi --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre 
--enable-libgcj-multifile --enable-java-maintainer-mode 
--with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib 
--with-ppl --with-cloog --with-tune=generic --with-arch_32=i686 
--build=x86_64-redhat-linux
Thread model: posix
gcc version 4.4.6 20120305 (Red Hat 4.4.6-4) (GCC) 

compile fails with:
g++ -O3 -std=c++0x -Wall -Wextra -pedantic -Isrc/ -lz src/rf_ace.cpp 
src/murmurhash3.cpp src/datadefs.cpp src/progress.cpp src/statistics.cpp 
src/math.cpp src/stochasticforest.cpp src/rootnode.cpp src/node.cpp 
src/treedata.cpp src/utils.cpp src/distributions.cpp src/reader.cpp 
src/feature.cpp -pthread -o bin/rf-ace
In file included from src/feature.hpp:10,
                 from src/feature.cpp:1:
src/datadefs.hpp: In function ‘bool datadefs::isNAN(const T&) [with T = 
std::unordered_set<unsigned int, std::hash<unsigned int>, 
std::equal_to<unsigned int>, std::allocator<unsigned int> >]’:
src/feature.cpp:144:   instantiated from here
src/datadefs.hpp:159: error: no match for ‘operator!=’ in ‘value != 
value’
make: *** [rf-ace] Error 1

Original issue reported on code.google.com by rkreisberg@systemsbiology.org on 21 Mar 2013 at 8:33