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
--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to