Boost logo

Boost-Commit :

From: hartmut.kaiser_at_[hidden]
Date: 2007-10-05 18:04:04


Author: hkaiser
Date: 2007-10-05 18:04:04 EDT (Fri, 05 Oct 2007)
New Revision: 39718
URL: http://svn.boost.org/trac/boost/changeset/39718

Log:
Added a compiler workaround for IntelV9.1/linux.
Text files modified:
   trunk/libs/wave/samples/cpp_tokens/slex_iterator.hpp | 3 ++-
   1 files changed, 2 insertions(+), 1 deletions(-)

Modified: trunk/libs/wave/samples/cpp_tokens/slex_iterator.hpp
==============================================================================
--- trunk/libs/wave/samples/cpp_tokens/slex_iterator.hpp (original)
+++ trunk/libs/wave/samples/cpp_tokens/slex_iterator.hpp 2007-10-05 18:04:04 EDT (Fri, 05 Oct 2007)
@@ -18,6 +18,7 @@
 
 #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>
@@ -55,7 +56,7 @@
             boost::wave::language_support language)
     : functor_ptr(slex_input_interface<TokenT>
             ::new_lexer(first, last, pos, language))
-#if 0 != __DECCXX_VER
+#if 0 != __DECCXX_VER || BOOST_WORKAROUND(BOOST_INTEL_LINUX, == 910)
       , 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