|
Boost : |
From: Ralf W. Grosse-Kunstleve (rwgk_at_[hidden])
Date: 2002-06-19 12:52:30
--- Paul Mensonides <pmenso57_at_[hidden]> wrote:
> 2) I unrolled the BOOST_PP_REPEAT macros for use under EDG front-ends in
> <boost\preprocessor\repeat.hpp> and
> <boost\preprocessor\detail\repeat_edg.hpp>.
> If __EDG__ is defined, 'repeat.hpp' automatically uses the alternate
> implementation is 'repeat_edg.hpp'.
For some weird reason the IRIX CC compiler does not define __EDG__, but only
__EDG_VERSION__. Suggested change for boost/preprocessor/repeat.hpp:
Index: repeat.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/preprocessor/repeat.hpp,v
retrieving revision 1.26
diff -r1.26 repeat.hpp
98c98,99
< #if defined __EDG__ // unrolled repeats for EDG front end
--- > #if defined(__EDG_VERSION__) && (__EDG_VERSION__ <= 245) > // unrolled repeats for EDG front end 492c493 < #endif // !__EDG__ --- > #endif // !(defined(__EDG_VERSION__) && (__EDG_VERSION__ <= 245)) This is the same test that is consistently used in boost/mpl (v1). Ralf __________________________________________________ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk