Intermedio

Link error with icpc when using Boost* 1.51+ MPL library and g++*

Problem

Link error with icpc: when linking object files compiled with icpc & g++* along with Boost* MPL library 1.51 or above, as shown in the sample test case below:

%cat t.h
#include <boost/mpl/vector.hpp>
template<typename T> struct my;
void foo(my<boost::mpl::vector<> >* = 0);

%cat u.cpp
#include "t.h"
int main() { foo();}

  • Desarrolladores
  • Linux*
  • Microsoft Windows* 8
  • C/C++
  • Intermedio
  • Intel® Composer XE
  • Intel® C++ Studio XE
  • Intel® Parallel Studio XE
  • Herramientas de desarrollo
  • Introducing the Digital Mementos Sample Application

    Digital Mementos is a sample travel application that uses three Intel® Cloud Services Platform services, namely Intel® Identity Services, Location Based Services, and Context Services, to build true cross-platform, transparent consumer experiences in the form of Windows* 8, Android*, and web client applications. Digital Mementos is a device agnostic, context-aware concept that provides a seamless, integrated user experience by taking advantage of the corresponding features of the devices where the features are running.

  • Desarrolladores
  • Android*
  • Microsoft Windows* 8
  • Servicios en nube
  • JavaScript*
  • Intermedio
  • Computación nube
  • Páginas

    Suscribirse a Intermedio