Boost logo

Boost :

From: Robert Ramey (ramey_at_[hidden])
Date: 2005-03-18 13:21:13


When compiling the following small test program with either of the borland
compilers:

#include <boost/test/test_tools.hpp>
class base
{
};

int
main(int argc, char *argvp[]){
    BOOST_WARN_MESSAGE(true, "test warning");
}

I get the following syntax error:

Borland C++ 5.6 for Win32 Copyright (c) 1993, 2002 Borland
c:\BoostMainCVS\libs\serialization\test\test_zmisc.cpp:
Warning W8057 c:\BoostMainCVS\libs\serialization\test\test_zmisc.cpp 13:
Parameter 'argc' is never used in function main(int,char * *)
Warning W8057 c:\BoostMainCVS\libs\serialization\test\test_zmisc.cpp 13:
Parameter 'argvp' is never used in function main(int,char * *)
Error E2312 C:\BoostMainCVS\boost/test/predicate_result.hpp 60: 'base' is
not an unambiguous base class of 'predicate_result::readonly_property60' in
function predicate_result::readonly_property60::readonly_property60(bool)
*** 1 errors in Compile ***

It would seem to me that the test library needs a borland specific tweak to
address this.

Robert Ramey


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk