|
Boost Interest : |
Subject: Re: [Boost-cmake] Issues with Intel C++
From: Justin Holewinski (shawmishrak_at_[hidden])
Date: 2009-10-10 13:43:06
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://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.
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).
Thanks for all of your help!
Thanks,
Justin Holewinski
On Sat, Oct 10, 2009 at 1:13 PM, troy d. straszheim <troy_at_[hidden]>wrote:
> Justin Holewinski wrote:
>
>>
>> After fixing that, the build is successful with both Intel C++ and Visual
>> Studio 9.
>>
>>
> Ah that was a dumb error. Thanks for the fix.
>
>
>> I'm still looking into the link errors on Mac and Linux with Intel C++.
>>
>>
> I've got intel for linux... I don't see any link errors, but
>
> [ 90%] Building CXX object
> libs/wave/src/CMakeFiles/boost_wave-mt-shared.dir/instantiate_re2c_lexer.cpp.o
>
> and a few others in wave have compile errors. Are we seeing the same
> things? I've got
>
> % /opt/intel/Compiler/11.0/083/bin/intel64/icpc --version
> icpc (ICC) 11.0 20090318
> Copyright (C) 1985-2009 Intel Corporation. All rights reserved.
>
>
>
> -t
>
>
> _______________________________________________
> Boost-cmake mailing list
> Boost-cmake_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-cmake
>
-- Thanks, Justin Holewinski