Switching to C++11 ?

Discussion related to the implementation of new features & algorithms to the Core Engine.

Moderators: Dade, jromang, tomb, zcott, coordinators

Switching to C++11 ?

Postby Dade » Tue Feb 23, 2016 5:00 am

I was looking in some Embree related new stuff that would require to use C++11. Any particular reason to no enable C++11 usage in lux/luxrays repositories ?

As far as I know it is supported by all compilers we use.
User avatar
Posts: 8404
Joined: Sat Apr 19, 2008 6:04 pm
Location: Italy

Re: Switching to C++11 ?

Postby jeanphi » Mon Feb 29, 2016 10:08 am


Looks good to me, C++11 has some very nice features.

Posts: 7943
Joined: Mon Jan 14, 2008 7:21 am

Re: Switching to C++11 ?

Postby pciccone » Sun Mar 06, 2016 8:35 am

I have switched to C++11 for most of Reality, so it's good for me.
User avatar
Posts: 1579
Joined: Wed Jan 13, 2010 11:02 am
Location: South Carolina

Re: Switching to C++11 ?

Postby jensverwiebe » Sun Mar 06, 2016 4:51 pm

Just a sidenote: classic lux is 12% slower here with c++11 on OSX.
Btw: don't try to compile the _v1.7 branch with c11 unless you have recompiled the libs with -std=c++11 -libstd=libc++.
Atm. i set -stdlib=libc++ only cause oddly opencl is affected by -std=c++11 flag ( int in switch gets too big !? )

Linux not yet tested.

User avatar
Posts: 3429
Joined: Wed Apr 02, 2008 4:34 pm

Return to Architecture & Design

Who is online

Users browsing this forum: No registered users and 1 guest