There is a new driver for all of the XHC pendants, but it requires
slightly newer C++ than is the default in Wheezy, so the compile of
master on Wheezy is currently broken.
http://buildbot.linuxcnc.org/buildbot/grid

But is seems that Wheezy is perfectly happy to compile C++11 code, it
just doesn't choose to by default.

By adding '-std=c++11' to the Submakefile of the driver (and deleting
a couple of logging lines) it all seems to compile again.

But, is the submakefile the right place to do this? I also tried
adding -std=c++11 to the CXXFLAGS in the Makefile and nothing seemed
to break, and the component compiled.

Is it a good idea to put this flag in to the main makefile?

-- 
atp
"A motorcycle is a bicycle with a pandemonium attachment and is
designed for the especial use of mechanical geniuses, daredevils and
lunatics."
— George Fitch, Atlanta Constitution Newspaper, 1912


_______________________________________________
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to