Am Donnerstag, 17. Januar 2013, 10:30:59 schrieb Witold E Wolski:
> 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
Explicit virtual overrides are not availabe in GCC 4.6.
http://gcc.gnu.org/projects/cxx0x.html
>
> for the following declaration
>
> void getRT(std::vector<double> & rt) const override;
>
>
>
> regards
--
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