|
Boost Testing : |
From: John Maddock (john_at_[hidden])
Date: 2005-01-11 05:38:34
> Here is where I'm stuck now, any thoughts?:
> cw-C++-action
> ../../../bin/boost/libs/filesystem/build/libboost_filesystem.a/cw-9_3-
> darwin/release/exception.o
> Error : macro 'RAND_MAX' redefined
> (included from:
> /usr/include/assert.h:14
>
> /Users/stephencarson/Development/boost/boost/boost/assert.hpp:35
>
> /Users/stephencarson/Development/boost/boost/boost/shared_ptr.hpp:23
>
> /Users/stephencarson/Development/boost/boost/boost/filesystem/
> exception.hpp:22
>
> /Users/stephencarson/Development/boost/boost/libs/filesystem/src/
> exception.cpp:18)
> /usr/include/stdlib.h line 117 #define RAND_MAX 0x7fffffff
> Error : (location of previous definition)
> /Applications/Metrowerks CodeWarrior 9.0/Metrowerks
> CodeWarrior/MSL/MSL_C/MSL_Common/Include/cstdlib line 44 #define
> RAND_MAX 32767
> Error : macro 'MB_CUR_MAX' redefined
> (included from:
> /usr/include/assert.h:14
Looks like you're including the platform's (gcc version?) of <assert.h>, and
CW's <cstdlib>, could this be an include path / tool setup problem?
John.