If I do:
$ uname -a; gcc --version
I get:
Linux sanjose 3.13.0-27-generic #50-Ubuntu SMP Thu May 15 18:06:16 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux gcc (Ubuntu 4.9-20140406-1ubuntu1) 4.9.0 20140405 (experimental) [trunk revision 209157]
I configure with:
cmake -G"Unix Makefiles" -DCMAKE_BUILD_TYPE=Debug -DCMAKE_C_FLAGS="-O1" -DCMAKE_CXX_FLAGS="-O1" ..
I *used* to get the same errors you are seeing, but now I don't.
If I do:
$ uname -a; gcc --version
I get:
Linux sanjose 3.13.0-27-generic #50-Ubuntu SMP Thu May 15 18:06:16 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux 1ubuntu1) 4.9.0 20140405 (experimental) [trunk revision 209157]
gcc (Ubuntu 4.9-20140406-
I configure with:
cmake -G"Unix Makefiles" -DCMAKE_ BUILD_TYPE= Debug -DCMAKE_ C_FLAGS= "-O1" -DCMAKE_ CXX_FLAGS= "-O1" ..
I *used* to get the same errors you are seeing, but now I don't.