Boost logo

Boost-Build :

Subject: [Boost-build] Boost and intel compiler
From: Bo Jensen (jensen.bo_at_[hidden])
Date: 2011-04-11 11:09:08


I have struggled for a long time with the intel compiler and boost on
a variety of linux platforms. I get a series of different errors when
the gcc version used by intel goes beyond 4.2. I am sure this is
entirely a intel configuration matter, since the gcc build works fine
on its own. I am not impressed by the gcc support from intel at all!

Have anybody experienced similar problems ?

Just to list one error I get on linux 32 with intel 11.1 and gcc 4.3 :

intel-linux.compile.c++
bin/intel-linux/release/address-model-32/link-static/threading-multi/model.o
../../../external/boost/boost/intrusive/intrusive_fwd.hpp(63): error:
expected an identifier
  template<class T, class ...Options>
                          ^

../../../external/boost/boost/intrusive/intrusive_fwd.hpp(74): error:
expected an identifier
  template<class ...Options>
                 ^

../../../external/boost/boost/intrusive/intrusive_fwd.hpp(85): error:
expected an identifier
  template<class ...Options>
                 ^

../../../external/boost/boost/intrusive/intrusive_fwd.hpp(98): error:
expected an identifier
  template<class T, class ...Options>
                          ^

../../../external/boost/boost/intrusive/intrusive_fwd.hpp(109): error:
expected an identifier
  template<class ...Options>
                 ^

../../../external/boost/boost/intrusive/intrusive_fwd.hpp(120): error:
expected an identifier
  template<class ...Options>
                 ^

../../../external/boost/boost/intrusive/intrusive_fwd.hpp(131): error:
expected an identifier
  template<class ...Options>
                 ^

../../../external/boost/boost/intrusive/intrusive_fwd.hpp(145): error:
expected an identifier
  template<class T, class ...Options>
                          ^

All the errors seem to be related to std=C++0x features, which I am
unsure is fully supported by intel.

Also the newest versions of intel go bananaz on newer version of
intel. The problem is I can not down grade my gcc on the distroes, due
to some other reasons.

Any help more than welcome, since I am so angry and frustrated right now :-)


Boost-Build 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