OpenNI/OpenNI — Issue #55: Gcc with C++ 0x flags doesn't compile
Author: mbarnach
Created: 2012-02-06 13:23:44+00:00
State: open

If we try to compile with GCC (4.4.6) with the c++ Ox support (gcc -std=c++0x ), OpenNI doesn't compile.
It seems the linux flag is not defined anymore. May be GCC 4.4.6 has changed it?
If we define the linux flag in the CFLAGS variable in OpenNI/Plateform/Linux-x86/Build/CommonMakefile
CFLAGS += -malign-double -std=c++0x -Dlinux
it works fine.