$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: zaufi (zaufi_at_[hidden])
Date: 2004-07-01 09:16:56
Hi all!
I have a problem compiling the following simple program without defining
BOOST_MPL_NO_PREPROCESSED_HEADERS. Though obviously there are
preprocessed headers in boost/mpl/list/aux_/preprocessed/plain. The problem
seems to be in compiler-specific preprocessed header (for example
boost/mpl/aux_/preprocessed/gcc/list.hpp) where list is defined with 10
arguments regardless of BOOST_MPL_LIMIT_LIST_SIZE value.
---{boost_list.cc} ---------------------------------------------
// # define BOOST_MPL_NO_PREPROCESSED_HEADERS
# if !defined(BOOST_MPL_LIMIT_LIST_SIZE) || (BOOST_MPL_LIMIT_LIST_SIZE < 20)
# undef BOOST_MPL_LIMIT_LIST_SIZE
# define BOOST_MPL_LIMIT_LIST_SIZE 20
# endif
#include <boost/mpl/list.hpp>
typedef boost::mpl::list<
int, int, int, int, int
, int, int, int, int, int
, int, int, int, int, int
> my_list;
int main()
{
my_list l;
return 0;
};
---------------------------------------{end of boost_list.cc}---
any suggestions??
regards. zaufi.