[CMake] enabling c++11 features?
Witold E Wolski
wewolski at gmail.com
Thu Jan 17 04:30:59 EST 2013
I would like to use the override keyword
I added to my root CMakeLists.txt file
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++0x") (I am using gcc 4.6)
However I am still getting an error i.e:
error: ‘override’ does not name a type
for the following declaration
void getRT(std::vector<double> & rt) const override;
regards
--
Witold Eryk Wolski
Triemlistrasse 155
8047 Zuerich
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20130117/19eeb7ff/attachment.htm>
More information about the CMake
mailing list