[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 20:43:58 -0500 |
> On Feb 23, 2016, at 3:27 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.
>
> Oops, that should be
>
> export CXXFLAGS="$CFLAGS -std=gnu++11"
>
> --
> mike
The error without "-std=gnu++14” and with "-std=gnu11" is below.
CXX array/array_libarray_la-Array-b.lo
Apple LLVM version 7.0.2 (clang-700.1.81)
Target: x86_64-apple-darwin14.5.0
Thread model: posix
"/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang"
-cc1 -triple x86_64-apple-macosx10.10.0 -Wdeprecated-objc-isa-usage
-Werror=deprecated-objc-isa-usage -emit-obj -disable-free
-disable-llvm-verifier -main-file-name Array-b.cc -mrelocation-model pic
-pic-level 2 -mthread-model posix -mdisable-fp-elim -masm-verbose
-munwind-tables -target-cpu core2 -target-linker-version 253.9 -v
-dwarf-column-info -coverage-file
/Users/bpabbott/Development/mercurial/default/sources/liboctave/Array-b.cc
-resource-dir
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/7.0.2
-dependency-file array/.deps/array_libarray_la-Array-b.Tpo -sys-header-deps
-MP -MT array/array_libarray_la-Array-b.lo -D HAVE_CONFIG_H -D _THREAD_SAFE -D
_THREAD_SAFE -I . -I .. -I ./array -I ./cruft/misc -I numeric -I ./numeric -I
operators -I ./operators -I ./system -I ./util -I ../libgnu -I ../libgnu -I
/sw/include/mesa -I /sw/include -stdlib=libc++ -O3 -std=gnu11
-fdeprecated-macro -fdebug-compilation-dir
/Users/bpabbott/Development/mercurial/default/sources/liboctave -ferror-limit
19 -fmessage-length 215 -pthread -stack-protector 1 -mstackrealign -fblocks
-fobjc-runtime=macosx-10.10.0 -fencode-extended-block-signature
-fcxx-exceptions -fexceptions -fmax-type-align=16 -fdiagnostics-show-option
-fcolor-diagnostics -vectorize-loops -vectorize-slp -o Array-b.o -x c++
array/Array-b.cc
error: invalid argument '-std=gnu11' not allowed with 'C++/ObjC++'
Makefile:6897: recipe for target 'array/array_libarray_la-Array-b.lo’ failed
Ben
- Re: C++11 now default?, (continued)
- Re: C++11 now default?, Mike Miller, 2016/02/22
- Re: C++11 now default?, John W. Eaton, 2016/02/22
- Re: C++11 now default?, Mike Miller, 2016/02/22
- Re: C++11 now default?, John W. Eaton, 2016/02/22
- Re: C++11 now default?, Ben Abbott, 2016/02/23
- Re: C++11 now default?, Ben Abbott, 2016/02/23
- Re: C++11 now default?, John W. Eaton, 2016/02/23
- Re: C++11 now default?, Ben Abbott, 2016/02/23
- Re: C++11 now default?, Mike Miller, 2016/02/23
- Re: C++11 now default?, Mike Miller, 2016/02/23
- Re: C++11 now default?,
Ben Abbott <=
- Re: C++11 now default?, Mike Miller, 2016/02/23
- Re: C++11 now default?, Ben Abbott, 2016/02/23
- Re: C++11 now default?, Mike Miller, 2016/02/23
- Re: C++11 now default?, Ben Abbott, 2016/02/23
- Re: C++11 now default?, John W. Eaton, 2016/02/24
- Re: C++11 now default?, John W. Eaton, 2016/02/24
- Re: C++11 now default?, Mike Miller, 2016/02/24
- Re: C++11 now default?, John W. Eaton, 2016/02/24
- Re: C++11 now default?, John W. Eaton, 2016/02/25
- Re: C++11 now default?, Ben Abbott, 2016/02/24