[PATCH] Add -std=gnu++11 to CXXFLAGS if SMP is enabled

Nick Withers nick.withers at anu.edu.au
Tue Sep 9 07:11:51 UTC 2014


On Tue, 2014-09-09 at 16:59 +1000, Nick Withers wrote:
> On Tue, 2014-09-09 at 08:52 +0200, Sebastian Huber wrote:
> > On 09/09/14 04:00, Nick Withers wrote:
> > > On Mon, 2014-09-08 at 11:14 +0200, Sebastian Huber wrote:
> > >> >This is necessary to use the <atomic> header file used for the atomic
> > >> >operations.
> > > "-std=c++11" wouldn't cut it?
> > >
> > 
> > I don't know, we use some GNU extensions here and there.
> 
> If they weren't enabled before...?
> 
> Or is the CXXFLAGS set with GNU extensions somewhere else, maybe
> overriding what you're trying to achieve here?

Wait... My bad, GNU extensions are the default :-P
-- 
Nick Withers

Embedded Systems Programmer
Department of Nuclear Physics, Research School of Physics and Engineering
The Australian National University (CRICOS: 00120C)




More information about the devel mailing list