Quote:
Originally Posted by rbmj
OK, I've determined the cause of the c++11 failures - turns out it was my own stupidity.
I have classes so I don't have time to regen the packages until this weekend, but the quick fix is to go into /usr/powerpc-wrs-vxworks/share/cmake/toolchain.cmake, look for the line containing -ansi, and remove -ansi from that line. Then, when you call cmake, use:
Code:
$ frcmake $SRCDIR -DCMAKE_CXX_FLAGS='-std=c++11 -fpermissive'
I don't want to make this default yet as there's still a few issues in WPILib with C++11 compatibility and I don't want to mess up people who are happy with c++98
|
Would you mind giving a few details on whats up with WPILib and C++11 so I can either work the problems out or avoid situations in which they would be a problem?