I'm getting a build error when trying to build the latest code base on Linux with gcc-4.7. The error occurs during 'make check-testsuite'. Here's the tail end of the make output:
g++ -DHAVE_CONFIG_H -I. -I.. -I.. -g -DBZ_DEBUG -DBZ_DEBUG -O3 -funroll-loops -fstrict-aliasing -fomit-frame-pointer -ffast-math -MT transpose.o -MD -MP -MF .deps/transpose.Tpo -c -o transpose.o transpose.cpp
In file included from transpose.cpp:3:0:
../random/discrete-uniform.h: In instantiation of ‘ranlib::DiscreteUniform<T, IRNG, stateTag>::DiscreteUniform(T) [with T = int; IRNG = ranlib::MersenneTwister; stateTag = ranlib::sharedState]’:
transpose.cpp:12:49: required from here
../random/discrete-uniform.h:48:9: error: ‘checkAssert’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
In file included from ../blitz/blitz.h:196:0,
../blitz/bzdebug.h:80:15: note: ‘void blitz::checkAssert(bool, const char*, int)’ declared here, later in the translation unit
Has anyone else tried to compile with gcc-4.7?
Log in to post a comment.