The EDG workaround is only needed when NOT operating in strict ansi (error)

mode, which is identified by __STD_STRICT_ANSI or __STD_STRICT_ANSI_ERRORS.


[SVN r29736]
This commit is contained in:
Markus Schöpflin
2005-06-22 15:20:18 +00:00
parent b7fa994f3d
commit e653056565

View File

@@ -20,7 +20,9 @@
#if BOOST_WORKAROUND(BOOST_MSVC, BOOST_TESTED_AT(1400)) \
|| BOOST_WORKAROUND(__EDG_VERSION__, <= 245)
|| ( BOOST_WORKAROUND(__EDG_VERSION__, <= 245) \
&& !(defined(__STD_STRICT_ANSI) \
|| defined(__STD_STRICT_ANSI_ERRORS)) )
# define BOOST_MPL_AUX_PTR_TO_REF(X) \
*BOOST_MPL_AUX_STATIC_CAST(X*, 0) \