Isn't that still a little nonstandard? Some g++11 would not be allowed with c++11? :)
On Sat, Nov 22, 2014 at 9:04 AM, Johan Engelen <jbc.engelen@...2592...> wrote:
You should compile with -std=g++11 or -std=gnu++0x. Per default, gcc includes a bunch on non-standard C++ things, so the default is something like -std=g++03. Our code is non-standard compliant, but I have not found the energy yet to fix that.
Our 64bit Windows builds have been using -std=gnu++0x for a while now btw.
-Johan
On 22-11-2014 14:32, Partha Bagchi wrote:
I seem to remember starting a thread on building Inkscape with std=c++11 and the build fails since M_PI and friends would become undefined. So, the build will fail or at least fails for me with revision 13747 (Is that the same as 0.91 release branch?).
I think one suggestion was to collect them all into one header file...
On Sat, Nov 22, 2014 at 7:37 AM, Johan Engelen <jbc.engelen@...2592...> wrote:
Hi all, Now that we have branched for release, can we now *finally* switch trunk to require C++11? Let's start with features supported by GCC 4.6 [1].
I am very rapidly loosing my patience here and find it very demotivating that we are still hung-up on this.
Googling a bit and reading on our mail thread finds plenty of options for people on ancient hardware.
-Johan
[1] http://wiki.apache.org/stdcxx/C%2B%2B0xCompilerSupport
On 27-6-2014 21:03, Tavmjong Bah wrote:
Hi,
I noticed a bunch of 'for' loops in Liam's code and that got me wondering about using C++11 in the experimental branch as 'auto' is so much nicer that "std::map<SPDocument*,int>::iterator iter". When can we start using C++11?
I noticed that http://wiki.inkscape.org/wiki/index.php/C%2B%2B11 only shows results for one Window's compiler. Is there a test program we can run? Fedora 20 is using GCC 4.8 and clang 3.4; both support 'auto' (GCC since 4.4).
Tav
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.cl... _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel