Boost logo

Boost Users :

Subject: [Boost-users] Segmentation fault of boost::format with Intel compiler on OS X
From: Daniel Langr (daniel.langr_at_[hidden])
Date: 2011-07-13 04:56:34

compiling the following code with Intel's icpc on OS X:

int i = 10;
std::string s = boost::str(boost::format("%d") % i);

we got segmentation fault when running the executable. With g++
everything works fine.

Versions: Boost 1.46.1, Intel icpc 11.1/0.67, OS X 10.8.0

Please help, thanks in advance,

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at