Boost logo

Boost-Commit :

From: hartmut.kaiser_at_[hidden]
Date: 2008-03-07 17:54:31


Author: hkaiser
Date: 2008-03-07 17:54:30 EST (Fri, 07 Mar 2008)
New Revision: 43543
URL: http://svn.boost.org/trac/boost/changeset/43543

Log:
Wave: Applied a workaround for Intel compilers and for Pathscale.
Text files modified:
   branches/release/boost/wave/cpplexer/cpp_lex_iterator.hpp | 2 +-
   branches/release/libs/wave/samples/cpp_tokens/slex_iterator.hpp | 3 +--
   2 files changed, 2 insertions(+), 3 deletions(-)

Modified: branches/release/boost/wave/cpplexer/cpp_lex_iterator.hpp
==============================================================================
--- branches/release/boost/wave/cpplexer/cpp_lex_iterator.hpp (original)
+++ branches/release/boost/wave/cpplexer/cpp_lex_iterator.hpp 2008-03-07 17:54:30 EST (Fri, 07 Mar 2008)
@@ -61,7 +61,7 @@
             position_type const &pos, boost::wave::language_support language)
     : functor_ptr(lex_input_interface_generator<TokenT>
             ::new_lexer(first, last, pos, language))
-#if 0 != __DECCXX_VER || BOOST_INTEL_CXX_VERSION > 900
+#if 0 != __DECCXX_VER || BOOST_INTEL_CXX_VERSION > 900 || defined(__PGI)
       , eof()
 #endif // 0 != __DECCXX_VER
     {}

Modified: branches/release/libs/wave/samples/cpp_tokens/slex_iterator.hpp
==============================================================================
--- branches/release/libs/wave/samples/cpp_tokens/slex_iterator.hpp (original)
+++ branches/release/libs/wave/samples/cpp_tokens/slex_iterator.hpp 2008-03-07 17:54:30 EST (Fri, 07 Mar 2008)
@@ -18,7 +18,6 @@
 
 #include <boost/assert.hpp>
 #include <boost/shared_ptr.hpp>
-#include <boost/detail/workaround.hpp>
 #include <boost/spirit/iterator/multi_pass.hpp>
 
 #include <boost/wave/language_support.hpp>
@@ -56,7 +55,7 @@
             boost::wave::language_support language)
     : functor_ptr(slex_input_interface<TokenT>
             ::new_lexer(first, last, pos, language))
-#if 0 != __DECCXX_VER || BOOST_WORKAROUND(BOOST_INTEL_LINUX, == 1010)
+#if 0 != __DECCXX_VER || BOOST_INTEL_CXX_VERSION > 900 || defined(__PGI)
       , eof()
 #endif // 0 != __DECCXX_VER
     {}


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk