2016-03-17 10:15 GMT+01:00 jp charras <jp.char...@wanadoo.fr>: > Le 10/03/2016 08:30, Simon Richter a écrit : >> >> This enables C++11 support, if either CMake is sufficiently new to have >> this feature built in, or the compiler is supported by the workaround code >> (gcc or clang). >> --- >> CMakeLists.txt | 23 +++++++++++++++++++++++ >> 1 file changed, 23 insertions(+) > > After a few tests: > > I can compile Kicad on W7 32 bits + msys2 and Kubuntu 14.04 LTS with option > -std=gnu++11 > and on W7 32 bits (on Kubuntu the compiler version is too old) > -std=gnu++14
Is that kubuntu machine updated? Did it build with -std=c++11 on kubuntu 14.04 LTS? > > but on W7 32 bits the option > -std=c++11 > does not work (compil errors) I think I tested Simon's original patch on msys2 on 64 and it seemed to work. What errors do you see? > > Therefore, with gcc: > -std=gnu++11 is OK > -std=c++11 is not acceptable > > (This is not the first time i have issues with option -std=c++11 or > -std=c++14 and no issue with -std=gnu++11 or -std=gnu++14) > > > -- > Jean-Pierre CHARRAS > > _______________________________________________ > Mailing list: https://launchpad.net/~kicad-developers > Post to : kicad-developers@lists.launchpad.net > Unsubscribe : https://launchpad.net/~kicad-developers > More help : https://help.launchpad.net/ListHelp _______________________________________________ Mailing list: https://launchpad.net/~kicad-developers Post to : kicad-developers@lists.launchpad.net Unsubscribe : https://launchpad.net/~kicad-developers More help : https://help.launchpad.net/ListHelp