Boost logo

Boost :

From: Alkis Evlogimenos (alkis_at_[hidden])
Date: 2002-10-14 10:56:59

bind_test fails with this error on linux:

/tmp/boost/boost/libs/bind/bind_test.cpp: In function `void
/tmp/boost/boost/libs/bind/bind_test.cpp:193: template argument 1 is invalid

    /opt/gcc2/bin/g++ -c -Wall -ftemplate-depth-100 -g -O0 -fno-inline
-I"../status" -isystem "/tmp/boost/boost" -o

Apparently 'void' is not a valid template argument for this compiler :-)

Adding this compiler to the failing ones does the trick:

Index: libs/bind/bind_test.cpp
RCS file: /cvsroot/boost/boost/libs/bind/bind_test.cpp,v
retrieving revision 1.12
diff -r1.12 bind_test.cpp
< #if !defined(__MWERKS__) || (__MWERKS__ > 0x2406) // Fails for this
version of the compiler.

> #if (!defined(__MWERKS__) || (__MWERKS__ > 0x2406)) && (!defined(__GNUC__) 
|| (__GNUC__ > 2)) // Fails for these versions of the compilers.

Boost list run by bdawes at, gregod at, cpdaniel at, john at