Boost logo

Boost :

From: Robert Ramey (ramey_at_[hidden])
Date: 2004-09-16 13:13:06


The following program:

#include <boost/mpl/list.hpp>
#include <boost/test/test_tools.hpp>

fails to compile with borland compilers with the messages:

c:\BoostMainCVS\libs\serialization\test\test_zmisc.cpp:
Error E2479 C:\BoostMainCVS\boost/next_prior.hpp 30: Cannot have both a
template class and function named 'next'
Error E2479 C:\BoostMainCVS\boost/next_prior.hpp 34: Cannot have both a
template class and function named 'next'
Error E2479 C:\BoostMainCVS\boost/next_prior.hpp 40: Cannot have both a
template class and function named 'prior'
Error E2479 C:\BoostMainCVS\boost/next_prior.hpp 44: Cannot have both a
template class and function named 'prior'
*** 4 errors in Compile ***

Could someone shed some light on 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