octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: C++11 now default?


From: Ben Abbott
Subject: Re: C++11 now default?
Date: Tue, 23 Feb 2016 22:17:30 -0500

> On Feb 23, 2016, at 9:38 PM, Mike Miller <address@hidden> wrote:
> 
> On Tue, Feb 23, 2016 at 21:34:53 -0500, Ben Abbott wrote:
>> 
>>> On Feb 23, 2016, at 8:15 PM, Mike Miller <address@hidden> wrote:
>>> 
>>> On Tue, Feb 23, 2016 at 12:23:26 -0800, Mike Miller wrote:
>>>> Please try CXX="$CFLAGS -std=gnu++11" only.
>>> 
>>> Ben, can you pull rev 0705248d47bf and try again without explicitly
>>> specifying any -std= options? I made a change that fixed a problem with
>>> C++11 detection with clang.
>> 
>> I still get the error below.
>> 
>> error: invalid argument '-std=gnu11' not allowed with 'C++/ObjC++’
> 
> I'm not sure I understand. Are you trying with no -std options at all in
> either CFLAGS or CXXFLAGS? Note that "-std=gnu11" is not the same as
> "-std=gnu++11".
> 
> -- 
> mike

Opps. I did make that mistake, but also another. When I pull your change and 
use CXXFLAGS=“$CFLAGS”, I’m now able to build.

Ben


reply via email to

[Prev in Thread] Current Thread [Next in Thread]