|
Boost Interest : |
Subject: Re: [Boost-cmake] Issues with Intel C++
From: troy d. straszheim (troy_at_[hidden])
Date: 2009-10-10 14:24:48
Justin Holewinski wrote:
>
> Nevermind the link errors, it was the dependency issue between inspect
> and Boost.System that you fixed in Friday's commit. I updated my local
> repository yesterday on Windows, but not on Mac. The compile error in
> Boost.Wave just needs the following fix (in
> /boost/wave/cpplexer/re2clex/cpp_re2c_lexer.hpp):
>
> ///////////////////////////////////////////////////////////////////////////////
> // initialize cpp lexer
> template <typename IteratorT, typename PositionT>
> inline
> lexer<IteratorT, PositionT>::lexer(IteratorT const &first,
> IteratorT const &last, PositionT const &pos,
> boost::wave::language_support language_)
> : filename(pos.get_file()), at_eof(false), language(language_),
> * cache(token_cache<typename lexer<IteratorT,
> PositionT>::string_type>())* <--- Add this line
> {
> using namespace std; // some systems have memset in std
>
> This fix is courtesy of a post on intel.com <http://intel.com>
> [http://software.intel.com/en-us/articles/error-409-when-building-boost-libraries-1400-with-intel-compiler/].
> I'm not sure if the Boost.Wave developers are aware of this.
Thanks for this, I've pushed it to my 1.40.0 branch and I'll ping the
wave guys with it.
>
> As of now, your Boost 1.40.0 branch builds and installs without error
> for me on Windows (Intel 11.1, Visual Studio 2009, Visual Studio 2010
> Beta 1), Linux (GCC 4.2, GCC 4.4, Intel 11.1), and Mac OS X 10.6 (GCC
> 4.2, Intel 11.1).
>
<high five/>
> Thanks for all of your help!
>
Thanks for *your* help. I'll tag this up and put out a point-release
announcement under separate cover.
-t