Subject: [boost] [Filesystem] error including filesystem v3 with icpc -std=c++0x
From: Galen Andrew (pupochik_at_[hidden])
Date: 2011-04-18 20:13:57
Including boost/filesystem.hpp is giving me errors using Intel
compiler in Linux with -std=c++0x that look like
boost/filesystem/v3/operations.hpp(303): error: name followed by "::"
must be a class or namespace name
It compiles fine under g++ -std=c++0x.
There are also a plethora of warnings like
boost/filesystem/v3/operations.hpp(626): warning #279: controlling
expression is constant
BOOST_ASSERT(m_imp.get() && "attempt to dereference end iterator");
I'd appreciate any help/ideas.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk