With the latest C++ compiler 2019.5.281, I get a linkage error upon compiling this simple program,
#include <iostream>
int main () {
std::clog << "C++ version "<< __cplusplus << std::endl;
return 0;
}
> icpc -std=c++11 test.cc
Undefined symbols for architecture x86_64:
"__ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEC1Emc", referenced from:
_main in icpcjsInXA.o
ld: symbol(s) not found for architecture x86_64
Mac OSX 10.14.6
icpc (ICC) 19.0.5.281 20190816