Ticket #5571: dinkumware.patch

File dinkumware.patch, 645 bytes (added by olim@…, 11 years ago)
  • N:\_tmp\dinkumware.hpp

    old new  
    8484// Intel C++ chokes over any non-trivial use of <locale>
    8585// this may be an overly restrictive define, but regex fails without it:
    8686#  define BOOST_NO_STD_LOCALE
    8787#endif
    8888
    8989#include <typeinfo>
    90 #if !_HAS_EXCEPTIONS
     90#if ( !_HAS_EXCEPTIONS && !defined(__ghs__) || \
     91      !_HAS_NAMESPACE && defined(__ghs__) )
    9192#  define BOOST_NO_STD_TYPEINFO   
    9293#endif 
    9394
    9495//  C++0x headers implemented in 520 (as shipped by Microsoft)
    9596//
    9697#if !defined(_CPPLIB_VER) || _CPPLIB_VER < 520