Re: [CMake] enabling c++11 features?

2013-01-17 Thread Rolf Eike Beer
Am 17.01.2013 10:30, 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 for the fol

Re: [CMake] enabling c++11 features?

2013-01-17 Thread Petr Kmoch
Hi Witold. Based on this feature-support matrix: http://wiki.apache.org/stdcxx/C%2B%2B0xCompilerSupport , it seems gcc 4.6 doesn't support override (even with the C++0x flag). I just verified this without CMake. Petr On Thu, Jan 17, 2013 at 10:30 AM, Witold E Wolski wrote: > I would like to use

Re: [CMake] enabling c++11 features?

2013-01-17 Thread Benjamin Eikel
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’ doe

[CMake] enabling c++11 features?

2013-01-17 Thread 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 for the following declaration void getRT(std::vector & rt) c