mirror of
https://github.com/boostorg/config.git
synced 2025-08-01 05:14:28 +02:00
Both Sun and Pgi on Linux correctly put typeinfo into the std
namespace, but function_base keys off the BOOST_NO_EXCEPTION_STD_NAMESPACE macro instead of the BOOST_NO_STD_TYPEINFO macro. The attached patch changes function_base to use the typeinfo macro. Because eVC 4.2 doesn't put typeinfo into the std namespace, I need to define BOOST_NO_STD_TYPEINFO only for this eVC version. [SVN r49571]
This commit is contained in:
@@ -22,6 +22,11 @@
|
|||||||
# define BOOST_NO_DEPENDENT_TYPES_IN_TEMPLATE_VALUE_PARAMETERS
|
# define BOOST_NO_DEPENDENT_TYPES_IN_TEMPLATE_VALUE_PARAMETERS
|
||||||
# define BOOST_NO_VOID_RETURNS
|
# define BOOST_NO_VOID_RETURNS
|
||||||
# define BOOST_NO_EXCEPTION_STD_NAMESPACE
|
# define BOOST_NO_EXCEPTION_STD_NAMESPACE
|
||||||
|
|
||||||
|
# if BOOST_MSVC == 1202
|
||||||
|
# define BOOST_NO_STD_TYPEINFO
|
||||||
|
# endif
|
||||||
|
|
||||||
// disable min/max macro defines on vc6:
|
// disable min/max macro defines on vc6:
|
||||||
//
|
//
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user