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


Hi,
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,
Daniel


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net