Login  Register

Re: Compile error

Posted by LordOfBikes on Mar 14, 2014; 11:11am
URL: https://forum.librecad.org/Compile-error-tp5709682p5709688.html

Yes, -std=c++11 was added with gcc 4.7, earlier versions fail with this switch.
Because the actual Ubuntu 12.04LTS still use gcc 4.6, I did the custom.pro hack to replace it with -std=c++0x.
I tried to use both switches, trusting the unknown switch is ignored by gcc, but with that combination all gcc versions failed. I've checked this with gcc 4.6 and 4.8.

Regards

Armin
investing less than half an hour into Search function can save hours or days of waiting for a solution