Skip to content

Instantly share code, notes, and snippets.

@ilovezfs
Created June 20, 2018 13:24
Show Gist options
  • Save ilovezfs/cdd92f4a563db1677562095c3973e0c6 to your computer and use it in GitHub Desktop.
Save ilovezfs/cdd92f4a563db1677562095c3973e0c6 to your computer and use it in GitHub Desktop.
iMac-TMP:homebrew-core joe$ brew install -dvs protobuf-swift
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/protobuf-swift.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/protobuf.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/[email protected]
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/gdbm.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/openssl.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/readline.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/sqlite.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/autoconf.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/automake.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/libtool.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/pkg-config.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/sphinx-doc.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/makedepend.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/swift-protobuf.rb
/usr/bin/sandbox-exec -f /tmp/homebrew20180620-37124-nzgilh.sb nice /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.3_2/bin/ruby -W0 -I /usr/local/Homebrew/Library/Homebrew:/usr/local/Homebrew/Library/Homebrew/cask/lib -- /usr/local/Homebrew/Library/Homebrew/build.rb /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/protobuf-swift.rb --verbose --debug
/usr/local/Homebrew/Library/Homebrew/build.rb (Formulary::FromPathLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/protobuf-swift.rb
/usr/local/Homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/protobuf.rb
/usr/local/Homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/[email protected]
/usr/local/Homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/gdbm.rb
/usr/local/Homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/openssl.rb
/usr/local/Homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/readline.rb
/usr/local/Homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/sqlite.rb
/usr/local/Homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/autoconf.rb
/usr/local/Homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/automake.rb
/usr/local/Homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/libtool.rb
/usr/local/Homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/pkg-config.rb
/usr/local/Homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/sphinx-doc.rb
/usr/local/Homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/makedepend.rb
==> Downloading https://github.com/alexeyxo/protobuf-swift/archive/4.0.3.tar.gz
Already downloaded: /Users/joe/Library/Caches/Homebrew/protobuf-swift-4.0.3.tar.gz
==> Verifying protobuf-swift-4.0.3.tar.gz checksum
tar xzf /Users/joe/Library/Caches/Homebrew/protobuf-swift-4.0.3.tar.gz
==> protoc -Iplugin/compiler plugin/compiler/google/protobuf/descriptor.proto plugin/compiler/google/protobuf/swift-descriptor.proto --cpp_out=plugin/compiler
==> ./autogen.sh
+ mkdir -p m4
+ autoreconf -f -i -Wall
glibtoolize: putting auxiliary files in '.'.
glibtoolize: copying file './ltmain.sh'
glibtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
glibtoolize: copying file 'm4/libtool.m4'
glibtoolize: copying file 'm4/ltoptions.m4'
glibtoolize: copying file 'm4/ltsugar.m4'
glibtoolize: copying file 'm4/ltversion.m4'
glibtoolize: copying file 'm4/lt~obsolete.m4'
configure.ac:13: installing './compile'
configure.ac:9: installing './config.guess'
configure.ac:9: installing './config.sub'
configure.ac:10: installing './install-sh'
configure.ac:10: installing './missing'
plugin/compiler/Makefile.am: installing './depcomp'
+ rm -rf autom4te.cache configure.ac~ config.h.in~
==> ./configure --prefix=/usr/local/Cellar/protobuf-swift/4.0.3
checking build system type... x86_64-apple-darwin15.6.0
checking host system type... x86_64-apple-darwin15.6.0
checking target system type... x86_64-apple-darwin15.6.0
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for gcc... clang
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether clang accepts -g... yes
checking for clang option to accept ISO C89... none needed
checking whether clang understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of clang... gcc3
checking whether we are using the GNU C++ compiler... yes
checking whether clang++ accepts -g... yes
checking dependency style of clang++... gcc3
checking C++ compiler flags...... use default: -g -O2 -DNDEBUG
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/local/Homebrew/Library/Homebrew/shims/mac/super/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by clang... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
checking if the linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) is GNU ld... no
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 196608
checking how to convert x86_64-apple-darwin15.6.0 file names to x86_64-apple-darwin15.6.0 format... func_convert_file_noop
checking how to convert x86_64-apple-darwin15.6.0 file names to toolchain format... func_convert_file_noop
checking for /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld option to reload object files... -r
checking for objdump... no
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... no
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from clang object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... no
checking if : is a manifest tool... no
checking for dsymutil... dsymutil
checking for nmedit... nmedit
checking for lipo... lipo
checking for otool... otool
checking for otool64... no
checking for -single_module linker flag... yes
checking for -exported_symbols_list linker flag... yes
checking for -force_load linker flag... yes
checking how to run the C preprocessor... clang -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if clang supports -fno-rtti -fno-exceptions... yes
checking for clang option to produce PIC... -fno-common -DPIC
checking if clang PIC flag -fno-common -DPIC works... yes
checking if clang static flag -static works... no
checking if clang supports -c -o file.o... yes
checking if clang supports -c -o file.o... (cached) yes
checking whether the clang linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin15.6.0 dyld
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking how to run the C++ preprocessor... clang++ -E
checking for ld used by clang++... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
checking if the linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) is GNU ld... no
checking whether the clang++ linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes
checking for clang++ option to produce PIC... -fno-common -DPIC
checking if clang++ PIC flag -fno-common -DPIC works... yes
checking if clang++ static flag -static works... no
checking if clang++ supports -c -o file.o... yes
checking if clang++ supports -c -o file.o... (cached) yes
checking whether the clang++ linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin15.6.0 dyld
checking how to hardcode library paths into programs... immediate
checking for ANSI C header files... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for inttypes.h... (cached) yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for working memcmp... yes
checking for working strtod... yes
checking for ftruncate... yes
checking for memset... yes
checking for mkdir... yes
checking for strchr... yes
checking for strerror... yes
checking for strtol... yes
checking google/protobuf/stubs/common.h usability... yes
checking google/protobuf/stubs/common.h presence... yes
checking for google/protobuf/stubs/common.h... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating plugin/compiler/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
==> make -k
/Applications/Xcode.app/Contents/Developer/usr/bin/make all-recursive
Making all in plugin/compiler
depbase=`echo main.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
clang++ -DHAVE_CONFIG_H -I. -I../.. -g -O2 -DNDEBUG -MT main.o -MD -MP -MF $depbase.Tpo -c -o main.o main.cc &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo swift_enum_field.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
clang++ -DHAVE_CONFIG_H -I. -I../.. -g -O2 -DNDEBUG -MT swift_enum_field.o -MD -MP -MF $depbase.Tpo -c -o swift_enum_field.o swift_enum_field.cc &&\
mv -f $depbase.Tpo $depbase.Po
In file included from swift_enum_field.cc:18:
In file included from ./swift_enum_field.h:24:
./swift_field.h:74:21: error: unknown type name 'scoped_array'
scoped_array<scoped_ptr<FieldGenerator> > field_generators_;
^
./swift_field.h:74:33: error: expected member name or ';' after declaration specifiers
scoped_array<scoped_ptr<FieldGenerator> > field_generators_;
~~~~~~~~~~~~^
./swift_field.h:75:21: error: unknown type name 'scoped_array'
scoped_array<scoped_ptr<FieldGenerator> > extension_generators_;
^
./swift_field.h:75:33: error: expected member name or ';' after declaration specifiers
scoped_array<scoped_ptr<FieldGenerator> > extension_generators_;
~~~~~~~~~~~~^
./swift_field.h:76:21: error: unknown type name 'scoped_array'
scoped_array<scoped_ptr<FieldGenerator> > oneof_generators_;
^
./swift_field.h:76:33: error: expected member name or ';' after declaration specifiers
scoped_array<scoped_ptr<FieldGenerator> > oneof_generators_;
~~~~~~~~~~~~^
In file included from swift_enum_field.cc:25:
In file included from /usr/local/include/google/protobuf/wire_format.h:45:
In file included from /usr/local/include/google/protobuf/message.h:118:
In file included from /usr/local/include/google/protobuf/arena.h:51:
In file included from /usr/local/include/google/protobuf/arena_impl.h:36:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/atomic:543:2: error: <atomic> is not implemented
#error <atomic> is not implemented
^
In file included from swift_enum_field.cc:25:
In file included from /usr/local/include/google/protobuf/wire_format.h:45:
In file included from /usr/local/include/google/protobuf/message.h:118:
In file included from /usr/local/include/google/protobuf/arena.h:51:
/usr/local/include/google/protobuf/arena_impl.h:249:15: error: no type named 'atomic' in namespace 'std'
static std::atomic<int64> lifecycle_id_generator_;
~~~~~^
/usr/local/include/google/protobuf/arena_impl.h:249:21: error: expected member name or ';' after declaration specifiers
static std::atomic<int64> lifecycle_id_generator_;
~~~~~~~~~~~~~~~~~~^
/usr/local/include/google/protobuf/arena_impl.h:283:8: error: no type named 'atomic' in namespace 'std'
std::atomic<SerialArena*>
~~~~~^
/usr/local/include/google/protobuf/arena_impl.h:283:14: error: expected member name or ';' after declaration specifiers
std::atomic<SerialArena*>
~~~~~~~~~~~^
/usr/local/include/google/protobuf/arena_impl.h:285:8: error: no type named 'atomic' in namespace 'std'
std::atomic<SerialArena*> hint_; // Fast thread-local block access
~~~~~^
/usr/local/include/google/protobuf/arena_impl.h:285:14: error: expected member name or ';' after declaration specifiers
std::atomic<SerialArena*> hint_; // Fast thread-local block access
~~~~~~~~~~~^
/usr/local/include/google/protobuf/arena_impl.h:286:8: error: no type named 'atomic' in namespace 'std'
std::atomic<size_t> space_allocated_; // Total size of all allocated blocks.
~~~~~^
/usr/local/include/google/protobuf/arena_impl.h:286:14: error: expected member name or ';' after declaration specifiers
std::atomic<size_t> space_allocated_; // Total size of all allocated blocks.
~~~~~~~~~~~^
/usr/local/include/google/protobuf/arena_impl.h:279:5: error: use of undeclared identifier 'hint_'
hint_.store(serial, std::memory_order_release);
^
/usr/local/include/google/protobuf/arena_impl.h:279:30: error: no member named 'memory_order_release' in namespace 'std'
hint_.store(serial, std::memory_order_release);
~~~~~^
In file included from swift_enum_field.cc:25:
In file included from /usr/local/include/google/protobuf/wire_format.h:45:
In file included from /usr/local/include/google/protobuf/message.h:119:
/usr/local/include/google/protobuf/message_lite.h:117:3: error: unknown type name 'constexpr'
constexpr const T& get() const { return reinterpret_cast<const T&>(union_); }
^
/usr/local/include/google/protobuf/message_lite.h:117:13: error: expected member name or ';' after declaration specifiers
constexpr const T& get() const { return reinterpret_cast<const T&>(union_); }
~~~~~~~~~ ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make[2]: *** [swift_enum_field.o] Error 1
depbase=`echo swift_map_field.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
clang++ -DHAVE_CONFIG_H -I. -I../.. -g -O2 -DNDEBUG -MT swift_map_field.o -MD -MP -MF $depbase.Tpo -c -o swift_map_field.o swift_map_field.cc &&\
mv -f $depbase.Tpo $depbase.Po
In file included from swift_map_field.cc:18:
In file included from ./swift_map_field.h:24:
./swift_field.h:74:21: error: unknown type name 'scoped_array'
scoped_array<scoped_ptr<FieldGenerator> > field_generators_;
^
./swift_field.h:74:33: error: expected member name or ';' after declaration specifiers
scoped_array<scoped_ptr<FieldGenerator> > field_generators_;
~~~~~~~~~~~~^
./swift_field.h:75:21: error: unknown type name 'scoped_array'
scoped_array<scoped_ptr<FieldGenerator> > extension_generators_;
^
./swift_field.h:75:33: error: expected member name or ';' after declaration specifiers
scoped_array<scoped_ptr<FieldGenerator> > extension_generators_;
~~~~~~~~~~~~^
./swift_field.h:76:21: error: unknown type name 'scoped_array'
scoped_array<scoped_ptr<FieldGenerator> > oneof_generators_;
^
./swift_field.h:76:33: error: expected member name or ';' after declaration specifiers
scoped_array<scoped_ptr<FieldGenerator> > oneof_generators_;
~~~~~~~~~~~~^
In file included from swift_map_field.cc:25:
In file included from /usr/local/include/google/protobuf/wire_format.h:45:
In file included from /usr/local/include/google/protobuf/message.h:118:
In file included from /usr/local/include/google/protobuf/arena.h:51:
In file included from /usr/local/include/google/protobuf/arena_impl.h:36:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/atomic:543:2: error: <atomic> is not implemented
#error <atomic> is not implemented
^
In file included from swift_map_field.cc:25:
In file included from /usr/local/include/google/protobuf/wire_format.h:45:
In file included from /usr/local/include/google/protobuf/message.h:118:
In file included from /usr/local/include/google/protobuf/arena.h:51:
/usr/local/include/google/protobuf/arena_impl.h:249:15: error: no type named 'atomic' in namespace 'std'
static std::atomic<int64> lifecycle_id_generator_;
~~~~~^
/usr/local/include/google/protobuf/arena_impl.h:249:21: error: expected member name or ';' after declaration specifiers
static std::atomic<int64> lifecycle_id_generator_;
~~~~~~~~~~~~~~~~~~^
/usr/local/include/google/protobuf/arena_impl.h:283:8: error: no type named 'atomic' in namespace 'std'
std::atomic<SerialArena*>
~~~~~^
/usr/local/include/google/protobuf/arena_impl.h:283:14: error: expected member name or ';' after declaration specifiers
std::atomic<SerialArena*>
~~~~~~~~~~~^
/usr/local/include/google/protobuf/arena_impl.h:285:8: error: no type named 'atomic' in namespace 'std'
std::atomic<SerialArena*> hint_; // Fast thread-local block access
~~~~~^
/usr/local/include/google/protobuf/arena_impl.h:285:14: error: expected member name or ';' after declaration specifiers
std::atomic<SerialArena*> hint_; // Fast thread-local block access
~~~~~~~~~~~^
/usr/local/include/google/protobuf/arena_impl.h:286:8: error: no type named 'atomic' in namespace 'std'
std::atomic<size_t> space_allocated_; // Total size of all allocated blocks.
~~~~~^
/usr/local/include/google/protobuf/arena_impl.h:286:14: error: expected member name or ';' after declaration specifiers
std::atomic<size_t> space_allocated_; // Total size of all allocated blocks.
~~~~~~~~~~~^
/usr/local/include/google/protobuf/arena_impl.h:279:5: error: use of undeclared identifier 'hint_'
hint_.store(serial, std::memory_order_release);
^
/usr/local/include/google/protobuf/arena_impl.h:279:30: error: no member named 'memory_order_release' in namespace 'std'
hint_.store(serial, std::memory_order_release);
~~~~~^
In file included from swift_map_field.cc:25:
In file included from /usr/local/include/google/protobuf/wire_format.h:45:
In file included from /usr/local/include/google/protobuf/message.h:119:
/usr/local/include/google/protobuf/message_lite.h:117:3: error: unknown type name 'constexpr'
constexpr const T& get() const { return reinterpret_cast<const T&>(union_); }
^
/usr/local/include/google/protobuf/message_lite.h:117:13: error: expected member name or ';' after declaration specifiers
constexpr const T& get() const { return reinterpret_cast<const T&>(union_); }
~~~~~~~~~ ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make[2]: *** [swift_map_field.o] Error 1
depbase=`echo swift_file.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
clang++ -DHAVE_CONFIG_H -I. -I../.. -g -O2 -DNDEBUG -MT swift_file.o -MD -MP -MF $depbase.Tpo -c -o swift_file.o swift_file.cc &&\
mv -f $depbase.Tpo $depbase.Po
In file included from swift_file.cc:23:
In file included from ./google/protobuf/descriptor.pb.h:22:
In file included from /usr/local/include/google/protobuf/io/coded_stream.h:113:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/atomic:543:2: error: <atomic> is not implemented
#error <atomic> is not implemented
^
In file included from swift_file.cc:23:
In file included from ./google/protobuf/descriptor.pb.h:22:
/usr/local/include/google/protobuf/io/coded_stream.h:867:15: error: no type named 'atomic' in namespace 'std'
static std::atomic<bool> default_serialization_deterministic_;
~~~~~^
/usr/local/include/google/protobuf/io/coded_stream.h:867:21: error: expected member name or ';' after declaration specifiers
static std::atomic<bool> default_serialization_deterministic_;
~~~~~~~~~~~~~~~~~~^
/usr/local/include/google/protobuf/io/coded_stream.h:854:12: error: use of undeclared identifier 'default_serialization_deterministic_'
return default_serialization_deterministic_.load(std::memory_order_relaxed) != 0;
^
/usr/local/include/google/protobuf/io/coded_stream.h:854:59: error: no member named 'memory_order_relaxed' in namespace 'std'
return default_serialization_deterministic_.load(std::memory_order_relaxed) != 0;
~~~~~^
/usr/local/include/google/protobuf/io/coded_stream.h:894:5: error: use of undeclared identifier 'default_serialization_deterministic_'; did you mean 'is_serialization_deterministic_'?
default_serialization_deterministic_.store(true, std::memory_order_relaxed);
^
/usr/local/include/google/protobuf/io/coded_stream.h:866:8: note: 'is_serialization_deterministic_' declared here
bool is_serialization_deterministic_;
^
/usr/local/include/google/protobuf/io/coded_stream.h:894:5: error: invalid use of member 'is_serialization_deterministic_' in static member function
default_serialization_deterministic_.store(true, std::memory_order_relaxed);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/google/protobuf/io/coded_stream.h:894:59: error: no member named 'memory_order_relaxed' in namespace 'std'
default_serialization_deterministic_.store(true, std::memory_order_relaxed);
~~~~~^
In file included from swift_file.cc:23:
In file included from ./google/protobuf/descriptor.pb.h:23:
In file included from /usr/local/include/google/protobuf/arena.h:51:
/usr/local/include/google/protobuf/arena_impl.h:249:15: error: no type named 'atomic' in namespace 'std'
static std::atomic<int64> lifecycle_id_generator_;
~~~~~^
/usr/local/include/google/protobuf/arena_impl.h:249:21: error: expected member name or ';' after declaration specifiers
static std::atomic<int64> lifecycle_id_generator_;
~~~~~~~~~~~~~~~~~~^
/usr/local/include/google/protobuf/arena_impl.h:283:8: error: no type named 'atomic' in namespace 'std'
std::atomic<SerialArena*>
~~~~~^
/usr/local/include/google/protobuf/arena_impl.h:283:14: error: expected member name or ';' after declaration specifiers
std::atomic<SerialArena*>
~~~~~~~~~~~^
/usr/local/include/google/protobuf/arena_impl.h:285:8: error: no type named 'atomic' in namespace 'std'
std::atomic<SerialArena*> hint_; // Fast thread-local block access
~~~~~^
/usr/local/include/google/protobuf/arena_impl.h:285:14: error: expected member name or ';' after declaration specifiers
std::atomic<SerialArena*> hint_; // Fast thread-local block access
~~~~~~~~~~~^
/usr/local/include/google/protobuf/arena_impl.h:286:8: error: no type named 'atomic' in namespace 'std'
std::atomic<size_t> space_allocated_; // Total size of all allocated blocks.
~~~~~^
/usr/local/include/google/protobuf/arena_impl.h:286:14: error: expected member name or ';' after declaration specifiers
std::atomic<size_t> space_allocated_; // Total size of all allocated blocks.
~~~~~~~~~~~^
/usr/local/include/google/protobuf/arena_impl.h:279:5: error: use of undeclared identifier 'hint_'
hint_.store(serial, std::memory_order_release);
^
/usr/local/include/google/protobuf/arena_impl.h:279:30: error: no member named 'memory_order_release' in namespace 'std'
hint_.store(serial, std::memory_order_release);
~~~~~^
In file included from swift_file.cc:23:
In file included from ./google/protobuf/descriptor.pb.h:25:
In file included from /usr/local/include/google/protobuf/generated_message_table_driven.h:34:
In file included from /usr/local/include/google/protobuf/map.h:49:
In file included from /usr/local/include/google/protobuf/map_type_handler.h:35:
In file included from /usr/local/include/google/protobuf/wire_format_lite_inl.h:43:
/usr/local/include/google/protobuf/message_lite.h:117:3: error: unknown type name 'constexpr'
constexpr const T& get() const { return reinterpret_cast<const T&>(union_); }
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make[2]: *** [swift_file.o] Error 1
depbase=`echo swift_message_field.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
clang++ -DHAVE_CONFIG_H -I. -I../.. -g -O2 -DNDEBUG -MT swift_message_field.o -MD -MP -MF $depbase.Tpo -c -o swift_message_field.o swift_message_field.cc &&\
mv -f $depbase.Tpo $depbase.Po
In file included from swift_message_field.cc:18:
In file included from ./swift_message_field.h:24:
./swift_field.h:74:21: error: unknown type name 'scoped_array'
scoped_array<scoped_ptr<FieldGenerator> > field_generators_;
^
./swift_field.h:74:33: error: expected member name or ';' after declaration specifiers
scoped_array<scoped_ptr<FieldGenerator> > field_generators_;
~~~~~~~~~~~~^
./swift_field.h:75:21: error: unknown type name 'scoped_array'
scoped_array<scoped_ptr<FieldGenerator> > extension_generators_;
^
./swift_field.h:75:33: error: expected member name or ';' after declaration specifiers
scoped_array<scoped_ptr<FieldGenerator> > extension_generators_;
~~~~~~~~~~~~^
./swift_field.h:76:21: error: unknown type name 'scoped_array'
scoped_array<scoped_ptr<FieldGenerator> > oneof_generators_;
^
./swift_field.h:76:33: error: expected member name or ';' after declaration specifiers
scoped_array<scoped_ptr<FieldGenerator> > oneof_generators_;
~~~~~~~~~~~~^
In file included from swift_message_field.cc:24:
In file included from /usr/local/include/google/protobuf/wire_format.h:45:
In file included from /usr/local/include/google/protobuf/message.h:118:
In file included from /usr/local/include/google/protobuf/arena.h:51:
In file included from /usr/local/include/google/protobuf/arena_impl.h:36:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/atomic:543:2: error: <atomic> is not implemented
#error <atomic> is not implemented
^
In file included from swift_message_field.cc:24:
In file included from /usr/local/include/google/protobuf/wire_format.h:45:
In file included from /usr/local/include/google/protobuf/message.h:118:
In file included from /usr/local/include/google/protobuf/arena.h:51:
/usr/local/include/google/protobuf/arena_impl.h:249:15: error: no type named 'atomic' in namespace 'std'
static std::atomic<int64> lifecycle_id_generator_;
~~~~~^
/usr/local/include/google/protobuf/arena_impl.h:249:21: error: expected member name or ';' after declaration specifiers
static std::atomic<int64> lifecycle_id_generator_;
~~~~~~~~~~~~~~~~~~^
/usr/local/include/google/protobuf/arena_impl.h:283:8: error: no type named 'atomic' in namespace 'std'
std::atomic<SerialArena*>
~~~~~^
/usr/local/include/google/protobuf/arena_impl.h:283:14: error: expected member name or ';' after declaration specifiers
std::atomic<SerialArena*>
~~~~~~~~~~~^
/usr/local/include/google/protobuf/arena_impl.h:285:8: error: no type named 'atomic' in namespace 'std'
std::atomic<SerialArena*> hint_; // Fast thread-local block access
~~~~~^
/usr/local/include/google/protobuf/arena_impl.h:285:14: error: expected member name or ';' after declaration specifiers
std::atomic<SerialArena*> hint_; // Fast thread-local block access
~~~~~~~~~~~^
/usr/local/include/google/protobuf/arena_impl.h:286:8: error: no type named 'atomic' in namespace 'std'
std::atomic<size_t> space_allocated_; // Total size of all allocated blocks.
~~~~~^
/usr/local/include/google/protobuf/arena_impl.h:286:14: error: expected member name or ';' after declaration specifiers
std::atomic<size_t> space_allocated_; // Total size of all allocated blocks.
~~~~~~~~~~~^
/usr/local/include/google/protobuf/arena_impl.h:279:5: error: use of undeclared identifier 'hint_'
hint_.store(serial, std::memory_order_release);
^
/usr/local/include/google/protobuf/arena_impl.h:279:30: error: no member named 'memory_order_release' in namespace 'std'
hint_.store(serial, std::memory_order_release);
~~~~~^
In file included from swift_message_field.cc:24:
In file included from /usr/local/include/google/protobuf/wire_format.h:45:
In file included from /usr/local/include/google/protobuf/message.h:119:
/usr/local/include/google/protobuf/message_lite.h:117:3: error: unknown type name 'constexpr'
constexpr const T& get() const { return reinterpret_cast<const T&>(union_); }
^
/usr/local/include/google/protobuf/message_lite.h:117:13: error: expected member name or ';' after declaration specifiers
constexpr const T& get() const { return reinterpret_cast<const T&>(union_); }
~~~~~~~~~ ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make[2]: *** [swift_message_field.o] Error 1
depbase=`echo swift_oneof.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
clang++ -DHAVE_CONFIG_H -I. -I../.. -g -O2 -DNDEBUG -MT swift_oneof.o -MD -MP -MF $depbase.Tpo -c -o swift_oneof.o swift_oneof.cc &&\
mv -f $depbase.Tpo $depbase.Po
In file included from swift_oneof.cc:24:
In file included from ./google/protobuf/descriptor.pb.h:22:
In file included from /usr/local/include/google/protobuf/io/coded_stream.h:113:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/atomic:543:2: error: <atomic> is not implemented
#error <atomic> is not implemented
^
In file included from swift_oneof.cc:24:
In file included from ./google/protobuf/descriptor.pb.h:22:
/usr/local/include/google/protobuf/io/coded_stream.h:867:15: error: no type named 'atomic' in namespace 'std'
static std::atomic<bool> default_serialization_deterministic_;
~~~~~^
/usr/local/include/google/protobuf/io/coded_stream.h:867:21: error: expected member name or ';' after declaration specifiers
static std::atomic<bool> default_serialization_deterministic_;
~~~~~~~~~~~~~~~~~~^
/usr/local/include/google/protobuf/io/coded_stream.h:854:12: error: use of undeclared identifier 'default_serialization_deterministic_'
return default_serialization_deterministic_.load(std::memory_order_relaxed) != 0;
^
/usr/local/include/google/protobuf/io/coded_stream.h:854:59: error: no member named 'memory_order_relaxed' in namespace 'std'
return default_serialization_deterministic_.load(std::memory_order_relaxed) != 0;
~~~~~^
/usr/local/include/google/protobuf/io/coded_stream.h:894:5: error: use of undeclared identifier 'default_serialization_deterministic_'; did you mean 'is_serialization_deterministic_'?
default_serialization_deterministic_.store(true, std::memory_order_relaxed);
^
/usr/local/include/google/protobuf/io/coded_stream.h:866:8: note: 'is_serialization_deterministic_' declared here
bool is_serialization_deterministic_;
^
/usr/local/include/google/protobuf/io/coded_stream.h:894:5: error: invalid use of member 'is_serialization_deterministic_' in static member function
default_serialization_deterministic_.store(true, std::memory_order_relaxed);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/google/protobuf/io/coded_stream.h:894:59: error: no member named 'memory_order_relaxed' in namespace 'std'
default_serialization_deterministic_.store(true, std::memory_order_relaxed);
~~~~~^
In file included from swift_oneof.cc:24:
In file included from ./google/protobuf/descriptor.pb.h:23:
In file included from /usr/local/include/google/protobuf/arena.h:51:
/usr/local/include/google/protobuf/arena_impl.h:249:15: error: no type named 'atomic' in namespace 'std'
static std::atomic<int64> lifecycle_id_generator_;
~~~~~^
/usr/local/include/google/protobuf/arena_impl.h:249:21: error: expected member name or ';' after declaration specifiers
static std::atomic<int64> lifecycle_id_generator_;
~~~~~~~~~~~~~~~~~~^
/usr/local/include/google/protobuf/arena_impl.h:283:8: error: no type named 'atomic' in namespace 'std'
std::atomic<SerialArena*>
~~~~~^
/usr/local/include/google/protobuf/arena_impl.h:283:14: error: expected member name or ';' after declaration specifiers
std::atomic<SerialArena*>
~~~~~~~~~~~^
/usr/local/include/google/protobuf/arena_impl.h:285:8: error: no type named 'atomic' in namespace 'std'
std::atomic<SerialArena*> hint_; // Fast thread-local block access
~~~~~^
/usr/local/include/google/protobuf/arena_impl.h:285:14: error: expected member name or ';' after declaration specifiers
std::atomic<SerialArena*> hint_; // Fast thread-local block access
~~~~~~~~~~~^
/usr/local/include/google/protobuf/arena_impl.h:286:8: error: no type named 'atomic' in namespace 'std'
std::atomic<size_t> space_allocated_; // Total size of all allocated blocks.
~~~~~^
/usr/local/include/google/protobuf/arena_impl.h:286:14: error: expected member name or ';' after declaration specifiers
std::atomic<size_t> space_allocated_; // Total size of all allocated blocks.
~~~~~~~~~~~^
/usr/local/include/google/protobuf/arena_impl.h:279:5: error: use of undeclared identifier 'hint_'
hint_.store(serial, std::memory_order_release);
^
/usr/local/include/google/protobuf/arena_impl.h:279:30: error: no member named 'memory_order_release' in namespace 'std'
hint_.store(serial, std::memory_order_release);
~~~~~^
In file included from swift_oneof.cc:24:
In file included from ./google/protobuf/descriptor.pb.h:25:
In file included from /usr/local/include/google/protobuf/generated_message_table_driven.h:34:
In file included from /usr/local/include/google/protobuf/map.h:49:
In file included from /usr/local/include/google/protobuf/map_type_handler.h:35:
In file included from /usr/local/include/google/protobuf/wire_format_lite_inl.h:43:
/usr/local/include/google/protobuf/message_lite.h:117:3: error: unknown type name 'constexpr'
constexpr const T& get() const { return reinterpret_cast<const T&>(union_); }
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make[2]: *** [swift_oneof.o] Error 1
depbase=`echo swift_enum.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
clang++ -DHAVE_CONFIG_H -I. -I../.. -g -O2 -DNDEBUG -MT swift_enum.o -MD -MP -MF $depbase.Tpo -c -o swift_enum.o swift_enum.cc &&\
mv -f $depbase.Tpo $depbase.Po
In file included from swift_enum.cc:18:
./swift_enum.h:52:21: error: no template named 'vector'; did you mean 'std::vector'?
vector<const EnumValueDescriptor*> canonical_values_;
^~~~~~
std::vector
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/vector:457:29: note: 'std::vector' declared here
class _LIBCPP_TYPE_VIS_ONLY vector
^
In file included from swift_enum.cc:18:
./swift_enum.h:58:21: error: no template named 'vector'; did you mean 'std::vector'?
vector<Alias> aliases_;
^~~~~~
std::vector
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/vector:457:29: note: 'std::vector' declared here
class _LIBCPP_TYPE_VIS_ONLY vector
^
In file included from swift_enum.cc:24:
In file included from ./google/protobuf/descriptor.pb.h:22:
In file included from /usr/local/include/google/protobuf/io/coded_stream.h:113:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/atomic:543:2: error: <atomic> is not implemented
#error <atomic> is not implemented
^
In file included from swift_enum.cc:24:
In file included from ./google/protobuf/descriptor.pb.h:22:
/usr/local/include/google/protobuf/io/coded_stream.h:867:15: error: no type named 'atomic' in namespace 'std'
static std::atomic<bool> default_serialization_deterministic_;
~~~~~^
/usr/local/include/google/protobuf/io/coded_stream.h:867:21: error: expected member name or ';' after declaration specifiers
static std::atomic<bool> default_serialization_deterministic_;
~~~~~~~~~~~~~~~~~~^
/usr/local/include/google/protobuf/io/coded_stream.h:854:12: error: use of undeclared identifier 'default_serialization_deterministic_'
return default_serialization_deterministic_.load(std::memory_order_relaxed) != 0;
^
/usr/local/include/google/protobuf/io/coded_stream.h:854:59: error: no member named 'memory_order_relaxed' in namespace 'std'
return default_serialization_deterministic_.load(std::memory_order_relaxed) != 0;
~~~~~^
/usr/local/include/google/protobuf/io/coded_stream.h:894:5: error: use of undeclared identifier 'default_serialization_deterministic_'; did you mean 'is_serialization_deterministic_'?
default_serialization_deterministic_.store(true, std::memory_order_relaxed);
^
/usr/local/include/google/protobuf/io/coded_stream.h:866:8: note: 'is_serialization_deterministic_' declared here
bool is_serialization_deterministic_;
^
/usr/local/include/google/protobuf/io/coded_stream.h:894:5: error: invalid use of member 'is_serialization_deterministic_' in static member function
default_serialization_deterministic_.store(true, std::memory_order_relaxed);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/google/protobuf/io/coded_stream.h:894:59: error: no member named 'memory_order_relaxed' in namespace 'std'
default_serialization_deterministic_.store(true, std::memory_order_relaxed);
~~~~~^
In file included from swift_enum.cc:24:
In file included from ./google/protobuf/descriptor.pb.h:23:
In file included from /usr/local/include/google/protobuf/arena.h:51:
/usr/local/include/google/protobuf/arena_impl.h:249:15: error: no type named 'atomic' in namespace 'std'
static std::atomic<int64> lifecycle_id_generator_;
~~~~~^
/usr/local/include/google/protobuf/arena_impl.h:249:21: error: expected member name or ';' after declaration specifiers
static std::atomic<int64> lifecycle_id_generator_;
~~~~~~~~~~~~~~~~~~^
/usr/local/include/google/protobuf/arena_impl.h:283:8: error: no type named 'atomic' in namespace 'std'
std::atomic<SerialArena*>
~~~~~^
/usr/local/include/google/protobuf/arena_impl.h:283:14: error: expected member name or ';' after declaration specifiers
std::atomic<SerialArena*>
~~~~~~~~~~~^
/usr/local/include/google/protobuf/arena_impl.h:285:8: error: no type named 'atomic' in namespace 'std'
std::atomic<SerialArena*> hint_; // Fast thread-local block access
~~~~~^
/usr/local/include/google/protobuf/arena_impl.h:285:14: error: expected member name or ';' after declaration specifiers
std::atomic<SerialArena*> hint_; // Fast thread-local block access
~~~~~~~~~~~^
/usr/local/include/google/protobuf/arena_impl.h:286:8: error: no type named 'atomic' in namespace 'std'
std::atomic<size_t> space_allocated_; // Total size of all allocated blocks.
~~~~~^
/usr/local/include/google/protobuf/arena_impl.h:286:14: error: expected member name or ';' after declaration specifiers
std::atomic<size_t> space_allocated_; // Total size of all allocated blocks.
~~~~~~~~~~~^
/usr/local/include/google/protobuf/arena_impl.h:279:5: error: use of undeclared identifier 'hint_'
hint_.store(serial, std::memory_order_release);
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make[2]: *** [swift_enum.o] Error 1
depbase=`echo swift_generator.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
clang++ -DHAVE_CONFIG_H -I. -I../.. -g -O2 -DNDEBUG -MT swift_generator.o -MD -MP -MF $depbase.Tpo -c -o swift_generator.o swift_generator.cc &&\
mv -f $depbase.Tpo $depbase.Po
In file included from swift_generator.cc:22:
In file included from ./google/protobuf/descriptor.pb.h:22:
In file included from /usr/local/include/google/protobuf/io/coded_stream.h:113:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/atomic:543:2: error: <atomic> is not implemented
#error <atomic> is not implemented
^
In file included from swift_generator.cc:22:
In file included from ./google/protobuf/descriptor.pb.h:22:
/usr/local/include/google/protobuf/io/coded_stream.h:867:15: error: no type named 'atomic' in namespace 'std'
static std::atomic<bool> default_serialization_deterministic_;
~~~~~^
/usr/local/include/google/protobuf/io/coded_stream.h:867:21: error: expected member name or ';' after declaration specifiers
static std::atomic<bool> default_serialization_deterministic_;
~~~~~~~~~~~~~~~~~~^
/usr/local/include/google/protobuf/io/coded_stream.h:854:12: error: use of undeclared identifier 'default_serialization_deterministic_'
return default_serialization_deterministic_.load(std::memory_order_relaxed) != 0;
^
/usr/local/include/google/protobuf/io/coded_stream.h:854:59: error: no member named 'memory_order_relaxed' in namespace 'std'
return default_serialization_deterministic_.load(std::memory_order_relaxed) != 0;
~~~~~^
/usr/local/include/google/protobuf/io/coded_stream.h:894:5: error: use of undeclared identifier 'default_serialization_deterministic_'; did you mean 'is_serialization_deterministic_'?
default_serialization_deterministic_.store(true, std::memory_order_relaxed);
^
/usr/local/include/google/protobuf/io/coded_stream.h:866:8: note: 'is_serialization_deterministic_' declared here
bool is_serialization_deterministic_;
^
/usr/local/include/google/protobuf/io/coded_stream.h:894:5: error: invalid use of member 'is_serialization_deterministic_' in static member function
default_serialization_deterministic_.store(true, std::memory_order_relaxed);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/google/protobuf/io/coded_stream.h:894:59: error: no member named 'memory_order_relaxed' in namespace 'std'
default_serialization_deterministic_.store(true, std::memory_order_relaxed);
~~~~~^
In file included from swift_generator.cc:22:
In file included from ./google/protobuf/descriptor.pb.h:23:
In file included from /usr/local/include/google/protobuf/arena.h:51:
/usr/local/include/google/protobuf/arena_impl.h:249:15: error: no type named 'atomic' in namespace 'std'
static std::atomic<int64> lifecycle_id_generator_;
~~~~~^
/usr/local/include/google/protobuf/arena_impl.h:249:21: error: expected member name or ';' after declaration specifiers
static std::atomic<int64> lifecycle_id_generator_;
~~~~~~~~~~~~~~~~~~^
/usr/local/include/google/protobuf/arena_impl.h:283:8: error: no type named 'atomic' in namespace 'std'
std::atomic<SerialArena*>
~~~~~^
/usr/local/include/google/protobuf/arena_impl.h:283:14: error: expected member name or ';' after declaration specifiers
std::atomic<SerialArena*>
~~~~~~~~~~~^
/usr/local/include/google/protobuf/arena_impl.h:285:8: error: no type named 'atomic' in namespace 'std'
std::atomic<SerialArena*> hint_; // Fast thread-local block access
~~~~~^
/usr/local/include/google/protobuf/arena_impl.h:285:14: error: expected member name or ';' after declaration specifiers
std::atomic<SerialArena*> hint_; // Fast thread-local block access
~~~~~~~~~~~^
/usr/local/include/google/protobuf/arena_impl.h:286:8: error: no type named 'atomic' in namespace 'std'
std::atomic<size_t> space_allocated_; // Total size of all allocated blocks.
~~~~~^
/usr/local/include/google/protobuf/arena_impl.h:286:14: error: expected member name or ';' after declaration specifiers
std::atomic<size_t> space_allocated_; // Total size of all allocated blocks.
~~~~~~~~~~~^
/usr/local/include/google/protobuf/arena_impl.h:279:5: error: use of undeclared identifier 'hint_'
hint_.store(serial, std::memory_order_release);
^
/usr/local/include/google/protobuf/arena_impl.h:279:30: error: no member named 'memory_order_release' in namespace 'std'
hint_.store(serial, std::memory_order_release);
~~~~~^
In file included from swift_generator.cc:22:
In file included from ./google/protobuf/descriptor.pb.h:25:
In file included from /usr/local/include/google/protobuf/generated_message_table_driven.h:34:
In file included from /usr/local/include/google/protobuf/map.h:49:
In file included from /usr/local/include/google/protobuf/map_type_handler.h:35:
In file included from /usr/local/include/google/protobuf/wire_format_lite_inl.h:43:
/usr/local/include/google/protobuf/message_lite.h:117:3: error: unknown type name 'constexpr'
constexpr const T& get() const { return reinterpret_cast<const T&>(union_); }
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make[2]: *** [swift_generator.o] Error 1
depbase=`echo swift_primitive_field.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
clang++ -DHAVE_CONFIG_H -I. -I../.. -g -O2 -DNDEBUG -MT swift_primitive_field.o -MD -MP -MF $depbase.Tpo -c -o swift_primitive_field.o swift_primitive_field.cc &&\
mv -f $depbase.Tpo $depbase.Po
In file included from swift_primitive_field.cc:18:
In file included from ./swift_primitive_field.h:24:
./swift_field.h:74:21: error: unknown type name 'scoped_array'
scoped_array<scoped_ptr<FieldGenerator> > field_generators_;
^
./swift_field.h:74:33: error: expected member name or ';' after declaration specifiers
scoped_array<scoped_ptr<FieldGenerator> > field_generators_;
~~~~~~~~~~~~^
./swift_field.h:75:21: error: unknown type name 'scoped_array'
scoped_array<scoped_ptr<FieldGenerator> > extension_generators_;
^
./swift_field.h:75:33: error: expected member name or ';' after declaration specifiers
scoped_array<scoped_ptr<FieldGenerator> > extension_generators_;
~~~~~~~~~~~~^
./swift_field.h:76:21: error: unknown type name 'scoped_array'
scoped_array<scoped_ptr<FieldGenerator> > oneof_generators_;
^
./swift_field.h:76:33: error: expected member name or ';' after declaration specifiers
scoped_array<scoped_ptr<FieldGenerator> > oneof_generators_;
~~~~~~~~~~~~^
In file included from swift_primitive_field.cc:25:
In file included from /usr/local/include/google/protobuf/wire_format.h:45:
In file included from /usr/local/include/google/protobuf/message.h:118:
In file included from /usr/local/include/google/protobuf/arena.h:51:
In file included from /usr/local/include/google/protobuf/arena_impl.h:36:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/atomic:543:2: error: <atomic> is not implemented
#error <atomic> is not implemented
^
In file included from swift_primitive_field.cc:25:
In file included from /usr/local/include/google/protobuf/wire_format.h:45:
In file included from /usr/local/include/google/protobuf/message.h:118:
In file included from /usr/local/include/google/protobuf/arena.h:51:
/usr/local/include/google/protobuf/arena_impl.h:249:15: error: no type named 'atomic' in namespace 'std'
static std::atomic<int64> lifecycle_id_generator_;
~~~~~^
/usr/local/include/google/protobuf/arena_impl.h:249:21: error: expected member name or ';' after declaration specifiers
static std::atomic<int64> lifecycle_id_generator_;
~~~~~~~~~~~~~~~~~~^
/usr/local/include/google/protobuf/arena_impl.h:283:8: error: no type named 'atomic' in namespace 'std'
std::atomic<SerialArena*>
~~~~~^
/usr/local/include/google/protobuf/arena_impl.h:283:14: error: expected member name or ';' after declaration specifiers
std::atomic<SerialArena*>
~~~~~~~~~~~^
/usr/local/include/google/protobuf/arena_impl.h:285:8: error: no type named 'atomic' in namespace 'std'
std::atomic<SerialArena*> hint_; // Fast thread-local block access
~~~~~^
/usr/local/include/google/protobuf/arena_impl.h:285:14: error: expected member name or ';' after declaration specifiers
std::atomic<SerialArena*> hint_; // Fast thread-local block access
~~~~~~~~~~~^
/usr/local/include/google/protobuf/arena_impl.h:286:8: error: no type named 'atomic' in namespace 'std'
std::atomic<size_t> space_allocated_; // Total size of all allocated blocks.
~~~~~^
/usr/local/include/google/protobuf/arena_impl.h:286:14: error: expected member name or ';' after declaration specifiers
std::atomic<size_t> space_allocated_; // Total size of all allocated blocks.
~~~~~~~~~~~^
/usr/local/include/google/protobuf/arena_impl.h:279:5: error: use of undeclared identifier 'hint_'
hint_.store(serial, std::memory_order_release);
^
/usr/local/include/google/protobuf/arena_impl.h:279:30: error: no member named 'memory_order_release' in namespace 'std'
hint_.store(serial, std::memory_order_release);
~~~~~^
In file included from swift_primitive_field.cc:25:
In file included from /usr/local/include/google/protobuf/wire_format.h:45:
In file included from /usr/local/include/google/protobuf/message.h:119:
/usr/local/include/google/protobuf/message_lite.h:117:3: error: unknown type name 'constexpr'
constexpr const T& get() const { return reinterpret_cast<const T&>(union_); }
^
/usr/local/include/google/protobuf/message_lite.h:117:13: error: expected member name or ';' after declaration specifiers
constexpr const T& get() const { return reinterpret_cast<const T&>(union_); }
~~~~~~~~~ ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make[2]: *** [swift_primitive_field.o] Error 1
depbase=`echo swift_extension.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
clang++ -DHAVE_CONFIG_H -I. -I../.. -g -O2 -DNDEBUG -MT swift_extension.o -MD -MP -MF $depbase.Tpo -c -o swift_extension.o swift_extension.cc &&\
mv -f $depbase.Tpo $depbase.Po
In file included from swift_extension.cc:20:
In file included from ./google/protobuf/descriptor.pb.h:22:
In file included from /usr/local/include/google/protobuf/io/coded_stream.h:113:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/atomic:543:2: error: <atomic> is not implemented
#error <atomic> is not implemented
^
In file included from swift_extension.cc:20:
In file included from ./google/protobuf/descriptor.pb.h:22:
/usr/local/include/google/protobuf/io/coded_stream.h:867:15: error: no type named 'atomic' in namespace 'std'
static std::atomic<bool> default_serialization_deterministic_;
~~~~~^
/usr/local/include/google/protobuf/io/coded_stream.h:867:21: error: expected member name or ';' after declaration specifiers
static std::atomic<bool> default_serialization_deterministic_;
~~~~~~~~~~~~~~~~~~^
/usr/local/include/google/protobuf/io/coded_stream.h:854:12: error: use of undeclared identifier 'default_serialization_deterministic_'
return default_serialization_deterministic_.load(std::memory_order_relaxed) != 0;
^
/usr/local/include/google/protobuf/io/coded_stream.h:854:59: error: no member named 'memory_order_relaxed' in namespace 'std'
return default_serialization_deterministic_.load(std::memory_order_relaxed) != 0;
~~~~~^
/usr/local/include/google/protobuf/io/coded_stream.h:894:5: error: use of undeclared identifier 'default_serialization_deterministic_'; did you mean 'is_serialization_deterministic_'?
default_serialization_deterministic_.store(true, std::memory_order_relaxed);
^
/usr/local/include/google/protobuf/io/coded_stream.h:866:8: note: 'is_serialization_deterministic_' declared here
bool is_serialization_deterministic_;
^
/usr/local/include/google/protobuf/io/coded_stream.h:894:5: error: invalid use of member 'is_serialization_deterministic_' in static member function
default_serialization_deterministic_.store(true, std::memory_order_relaxed);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/google/protobuf/io/coded_stream.h:894:59: error: no member named 'memory_order_relaxed' in namespace 'std'
default_serialization_deterministic_.store(true, std::memory_order_relaxed);
~~~~~^
In file included from swift_extension.cc:20:
In file included from ./google/protobuf/descriptor.pb.h:23:
In file included from /usr/local/include/google/protobuf/arena.h:51:
/usr/local/include/google/protobuf/arena_impl.h:249:15: error: no type named 'atomic' in namespace 'std'
static std::atomic<int64> lifecycle_id_generator_;
~~~~~^
/usr/local/include/google/protobuf/arena_impl.h:249:21: error: expected member name or ';' after declaration specifiers
static std::atomic<int64> lifecycle_id_generator_;
~~~~~~~~~~~~~~~~~~^
/usr/local/include/google/protobuf/arena_impl.h:283:8: error: no type named 'atomic' in namespace 'std'
std::atomic<SerialArena*>
~~~~~^
/usr/local/include/google/protobuf/arena_impl.h:283:14: error: expected member name or ';' after declaration specifiers
std::atomic<SerialArena*>
~~~~~~~~~~~^
/usr/local/include/google/protobuf/arena_impl.h:285:8: error: no type named 'atomic' in namespace 'std'
std::atomic<SerialArena*> hint_; // Fast thread-local block access
~~~~~^
/usr/local/include/google/protobuf/arena_impl.h:285:14: error: expected member name or ';' after declaration specifiers
std::atomic<SerialArena*> hint_; // Fast thread-local block access
~~~~~~~~~~~^
/usr/local/include/google/protobuf/arena_impl.h:286:8: error: no type named 'atomic' in namespace 'std'
std::atomic<size_t> space_allocated_; // Total size of all allocated blocks.
~~~~~^
/usr/local/include/google/protobuf/arena_impl.h:286:14: error: expected member name or ';' after declaration specifiers
std::atomic<size_t> space_allocated_; // Total size of all allocated blocks.
~~~~~~~~~~~^
/usr/local/include/google/protobuf/arena_impl.h:279:5: error: use of undeclared identifier 'hint_'
hint_.store(serial, std::memory_order_release);
^
/usr/local/include/google/protobuf/arena_impl.h:279:30: error: no member named 'memory_order_release' in namespace 'std'
hint_.store(serial, std::memory_order_release);
~~~~~^
In file included from swift_extension.cc:20:
In file included from ./google/protobuf/descriptor.pb.h:25:
In file included from /usr/local/include/google/protobuf/generated_message_table_driven.h:34:
In file included from /usr/local/include/google/protobuf/map.h:49:
In file included from /usr/local/include/google/protobuf/map_type_handler.h:35:
In file included from /usr/local/include/google/protobuf/wire_format_lite_inl.h:43:
/usr/local/include/google/protobuf/message_lite.h:117:3: error: unknown type name 'constexpr'
constexpr const T& get() const { return reinterpret_cast<const T&>(union_); }
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make[2]: *** [swift_extension.o] Error 1
depbase=`echo swift_helpers.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
clang++ -DHAVE_CONFIG_H -I. -I../.. -g -O2 -DNDEBUG -MT swift_helpers.o -MD -MP -MF $depbase.Tpo -c -o swift_helpers.o swift_helpers.cc &&\
mv -f $depbase.Tpo $depbase.Po
In file included from swift_helpers.cc:17:
In file included from ./swift_helpers.h:23:
In file included from ./google/protobuf/descriptor.pb.h:22:
In file included from /usr/local/include/google/protobuf/io/coded_stream.h:113:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/atomic:543:2: error: <atomic> is not implemented
#error <atomic> is not implemented
^
In file included from swift_helpers.cc:17:
In file included from ./swift_helpers.h:23:
In file included from ./google/protobuf/descriptor.pb.h:22:
/usr/local/include/google/protobuf/io/coded_stream.h:867:15: error: no type named 'atomic' in namespace 'std'
static std::atomic<bool> default_serialization_deterministic_;
~~~~~^
/usr/local/include/google/protobuf/io/coded_stream.h:867:21: error: expected member name or ';' after declaration specifiers
static std::atomic<bool> default_serialization_deterministic_;
~~~~~~~~~~~~~~~~~~^
/usr/local/include/google/protobuf/io/coded_stream.h:854:12: error: use of undeclared identifier 'default_serialization_deterministic_'
return default_serialization_deterministic_.load(std::memory_order_relaxed) != 0;
^
/usr/local/include/google/protobuf/io/coded_stream.h:854:59: error: no member named 'memory_order_relaxed' in namespace 'std'
return default_serialization_deterministic_.load(std::memory_order_relaxed) != 0;
~~~~~^
/usr/local/include/google/protobuf/io/coded_stream.h:894:5: error: use of undeclared identifier 'default_serialization_deterministic_'; did you mean 'is_serialization_deterministic_'?
default_serialization_deterministic_.store(true, std::memory_order_relaxed);
^
/usr/local/include/google/protobuf/io/coded_stream.h:866:8: note: 'is_serialization_deterministic_' declared here
bool is_serialization_deterministic_;
^
/usr/local/include/google/protobuf/io/coded_stream.h:894:5: error: invalid use of member 'is_serialization_deterministic_' in static member function
default_serialization_deterministic_.store(true, std::memory_order_relaxed);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/google/protobuf/io/coded_stream.h:894:59: error: no member named 'memory_order_relaxed' in namespace 'std'
default_serialization_deterministic_.store(true, std::memory_order_relaxed);
~~~~~^
In file included from swift_helpers.cc:17:
In file included from ./swift_helpers.h:23:
In file included from ./google/protobuf/descriptor.pb.h:23:
In file included from /usr/local/include/google/protobuf/arena.h:51:
/usr/local/include/google/protobuf/arena_impl.h:249:15: error: no type named 'atomic' in namespace 'std'
static std::atomic<int64> lifecycle_id_generator_;
~~~~~^
/usr/local/include/google/protobuf/arena_impl.h:249:21: error: expected member name or ';' after declaration specifiers
static std::atomic<int64> lifecycle_id_generator_;
~~~~~~~~~~~~~~~~~~^
/usr/local/include/google/protobuf/arena_impl.h:283:8: error: no type named 'atomic' in namespace 'std'
std::atomic<SerialArena*>
~~~~~^
/usr/local/include/google/protobuf/arena_impl.h:283:14: error: expected member name or ';' after declaration specifiers
std::atomic<SerialArena*>
~~~~~~~~~~~^
/usr/local/include/google/protobuf/arena_impl.h:285:8: error: no type named 'atomic' in namespace 'std'
std::atomic<SerialArena*> hint_; // Fast thread-local block access
~~~~~^
/usr/local/include/google/protobuf/arena_impl.h:285:14: error: expected member name or ';' after declaration specifiers
std::atomic<SerialArena*> hint_; // Fast thread-local block access
~~~~~~~~~~~^
/usr/local/include/google/protobuf/arena_impl.h:286:8: error: no type named 'atomic' in namespace 'std'
std::atomic<size_t> space_allocated_; // Total size of all allocated blocks.
~~~~~^
/usr/local/include/google/protobuf/arena_impl.h:286:14: error: expected member name or ';' after declaration specifiers
std::atomic<size_t> space_allocated_; // Total size of all allocated blocks.
~~~~~~~~~~~^
/usr/local/include/google/protobuf/arena_impl.h:279:5: error: use of undeclared identifier 'hint_'
hint_.store(serial, std::memory_order_release);
^
/usr/local/include/google/protobuf/arena_impl.h:279:30: error: no member named 'memory_order_release' in namespace 'std'
hint_.store(serial, std::memory_order_release);
~~~~~^
In file included from swift_helpers.cc:17:
In file included from ./swift_helpers.h:23:
In file included from ./google/protobuf/descriptor.pb.h:25:
In file included from /usr/local/include/google/protobuf/generated_message_table_driven.h:34:
In file included from /usr/local/include/google/protobuf/map.h:49:
In file included from /usr/local/include/google/protobuf/map_type_handler.h:35:
In file included from /usr/local/include/google/protobuf/wire_format_lite_inl.h:43:
/usr/local/include/google/protobuf/message_lite.h:117:3: error: unknown type name 'constexpr'
constexpr const T& get() const { return reinterpret_cast<const T&>(union_); }
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make[2]: *** [swift_helpers.o] Error 1
depbase=`echo swift_field.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
clang++ -DHAVE_CONFIG_H -I. -I../.. -g -O2 -DNDEBUG -MT swift_field.o -MD -MP -MF $depbase.Tpo -c -o swift_field.o swift_field.cc &&\
mv -f $depbase.Tpo $depbase.Po
In file included from swift_field.cc:18:
./swift_field.h:74:21: error: unknown type name 'scoped_array'
scoped_array<scoped_ptr<FieldGenerator> > field_generators_;
^
./swift_field.h:74:33: error: expected member name or ';' after declaration specifiers
scoped_array<scoped_ptr<FieldGenerator> > field_generators_;
~~~~~~~~~~~~^
./swift_field.h:75:21: error: unknown type name 'scoped_array'
scoped_array<scoped_ptr<FieldGenerator> > extension_generators_;
^
./swift_field.h:75:33: error: expected member name or ';' after declaration specifiers
scoped_array<scoped_ptr<FieldGenerator> > extension_generators_;
~~~~~~~~~~~~^
./swift_field.h:76:21: error: unknown type name 'scoped_array'
scoped_array<scoped_ptr<FieldGenerator> > oneof_generators_;
^
./swift_field.h:76:33: error: expected member name or ';' after declaration specifiers
scoped_array<scoped_ptr<FieldGenerator> > oneof_generators_;
~~~~~~~~~~~~^
In file included from swift_field.cc:23:
In file included from ./swift_helpers.h:23:
In file included from ./google/protobuf/descriptor.pb.h:22:
In file included from /usr/local/include/google/protobuf/io/coded_stream.h:113:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/atomic:543:2: error: <atomic> is not implemented
#error <atomic> is not implemented
^
In file included from swift_field.cc:23:
In file included from ./swift_helpers.h:23:
In file included from ./google/protobuf/descriptor.pb.h:22:
/usr/local/include/google/protobuf/io/coded_stream.h:867:15: error: no type named 'atomic' in namespace 'std'
static std::atomic<bool> default_serialization_deterministic_;
~~~~~^
/usr/local/include/google/protobuf/io/coded_stream.h:867:21: error: expected member name or ';' after declaration specifiers
static std::atomic<bool> default_serialization_deterministic_;
~~~~~~~~~~~~~~~~~~^
/usr/local/include/google/protobuf/io/coded_stream.h:854:12: error: use of undeclared identifier 'default_serialization_deterministic_'
return default_serialization_deterministic_.load(std::memory_order_relaxed) != 0;
^
/usr/local/include/google/protobuf/io/coded_stream.h:854:59: error: no member named 'memory_order_relaxed' in namespace 'std'
return default_serialization_deterministic_.load(std::memory_order_relaxed) != 0;
~~~~~^
/usr/local/include/google/protobuf/io/coded_stream.h:894:5: error: use of undeclared identifier 'default_serialization_deterministic_'; did you mean 'is_serialization_deterministic_'?
default_serialization_deterministic_.store(true, std::memory_order_relaxed);
^
/usr/local/include/google/protobuf/io/coded_stream.h:866:8: note: 'is_serialization_deterministic_' declared here
bool is_serialization_deterministic_;
^
/usr/local/include/google/protobuf/io/coded_stream.h:894:5: error: invalid use of member 'is_serialization_deterministic_' in static member function
default_serialization_deterministic_.store(true, std::memory_order_relaxed);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/google/protobuf/io/coded_stream.h:894:59: error: no member named 'memory_order_relaxed' in namespace 'std'
default_serialization_deterministic_.store(true, std::memory_order_relaxed);
~~~~~^
In file included from swift_field.cc:23:
In file included from ./swift_helpers.h:23:
In file included from ./google/protobuf/descriptor.pb.h:23:
In file included from /usr/local/include/google/protobuf/arena.h:51:
/usr/local/include/google/protobuf/arena_impl.h:249:15: error: no type named 'atomic' in namespace 'std'
static std::atomic<int64> lifecycle_id_generator_;
~~~~~^
/usr/local/include/google/protobuf/arena_impl.h:249:21: error: expected member name or ';' after declaration specifiers
static std::atomic<int64> lifecycle_id_generator_;
~~~~~~~~~~~~~~~~~~^
/usr/local/include/google/protobuf/arena_impl.h:283:8: error: no type named 'atomic' in namespace 'std'
std::atomic<SerialArena*>
~~~~~^
/usr/local/include/google/protobuf/arena_impl.h:283:14: error: expected member name or ';' after declaration specifiers
std::atomic<SerialArena*>
~~~~~~~~~~~^
/usr/local/include/google/protobuf/arena_impl.h:285:8: error: no type named 'atomic' in namespace 'std'
std::atomic<SerialArena*> hint_; // Fast thread-local block access
~~~~~^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make[2]: *** [swift_field.o] Error 1
depbase=`echo swift_message.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
clang++ -DHAVE_CONFIG_H -I. -I../.. -g -O2 -DNDEBUG -MT swift_message.o -MD -MP -MF $depbase.Tpo -c -o swift_message.o swift_message.cc &&\
mv -f $depbase.Tpo $depbase.Po
In file included from swift_message.cc:18:
In file included from ./swift_message.h:26:
./swift_field.h:74:21: error: unknown type name 'scoped_array'
scoped_array<scoped_ptr<FieldGenerator> > field_generators_;
^
./swift_field.h:74:33: error: expected member name or ';' after declaration specifiers
scoped_array<scoped_ptr<FieldGenerator> > field_generators_;
~~~~~~~~~~~~^
./swift_field.h:75:21: error: unknown type name 'scoped_array'
scoped_array<scoped_ptr<FieldGenerator> > extension_generators_;
^
./swift_field.h:75:33: error: expected member name or ';' after declaration specifiers
scoped_array<scoped_ptr<FieldGenerator> > extension_generators_;
~~~~~~~~~~~~^
./swift_field.h:76:21: error: unknown type name 'scoped_array'
scoped_array<scoped_ptr<FieldGenerator> > oneof_generators_;
^
./swift_field.h:76:33: error: expected member name or ';' after declaration specifiers
scoped_array<scoped_ptr<FieldGenerator> > oneof_generators_;
~~~~~~~~~~~~^
In file included from swift_message.cc:21:
./google/protobuf/stubs/hash.h:191:13: error: no template named 'pair'; did you mean 'std::pair'?
struct hash<pair<First, Second> > {
^~~~
std::pair
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/utility:253:30: note: 'std::pair' declared here
struct _LIBCPP_TYPE_VIS_ONLY pair
^
In file included from swift_message.cc:21:
./google/protobuf/stubs/hash.h:192:34: error: no template named 'pair'; did you mean 'std::pair'?
inline size_t operator()(const pair<First, Second>& key) const {
^~~~
std::pair
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/utility:253:30: note: 'std::pair' declared here
struct _LIBCPP_TYPE_VIS_ONLY pair
^
In file included from swift_message.cc:21:
./google/protobuf/stubs/hash.h:203:34: error: no template named 'pair'; did you mean 'std::pair'?
inline size_t operator()(const pair<First, Second>& a,
^~~~
std::pair
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/utility:253:30: note: 'std::pair' declared here
struct _LIBCPP_TYPE_VIS_ONLY pair
^
In file included from swift_message.cc:21:
./google/protobuf/stubs/hash.h:204:34: error: no template named 'pair'; did you mean 'std::pair'?
const pair<First, Second>& b) const {
^~~~
std::pair
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/utility:253:30: note: 'std::pair' declared here
struct _LIBCPP_TYPE_VIS_ONLY pair
^
In file included from swift_message.cc:22:
./google/protobuf/stubs/strutil.h:169:42: error: no template named 'vector'; did you mean 'std::vector'?
vector<string>* res);
^~~~~~
std::vector
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/iterator:1244:75: note: 'std::vector' declared here
template <class _Tp, class _Alloc> friend class _LIBCPP_TYPE_VIS_ONLY vector;
^
In file included from swift_message.cc:22:
./google/protobuf/stubs/strutil.h:179:43: error: no template named 'vector'; did you mean 'std::vector'?
LIBPROTOBUF_EXPORT void JoinStrings(const vector<string>& components,
^~~~~~
std::vector
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/iterator:1244:75: note: 'std::vector' declared here
template <class _Tp, class _Alloc> friend class _LIBCPP_TYPE_VIS_ONLY vector;
^
In file included from swift_message.cc:22:
./google/protobuf/stubs/strutil.h:182:33: error: no template named 'vector'; did you mean 'std::vector'?
inline string JoinStrings(const vector<string>& components,
^~~~~~
std::vector
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/iterator:1244:75: note: 'std::vector' declared here
template <class _Tp, class _Alloc> friend class _LIBCPP_TYPE_VIS_ONLY vector;
^
In file included from swift_message.cc:22:
./google/protobuf/stubs/strutil.h:222:49: error: no template named 'vector'; did you mean 'std::vector'?
vector<string> *errors);
^~~~~~
std::vector
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/iterator:1244:75: note: 'std::vector' declared here
template <class _Tp, class _Alloc> friend class _LIBCPP_TYPE_VIS_ONLY vector;
^
In file included from swift_message.cc:22:
./google/protobuf/stubs/strutil.h:241:46: error: no template named 'vector'; did you mean 'std::vector'?
vector<string> *errors);
^~~~~~
std::vector
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/iterator:1244:75: note: 'std::vector' declared here
template <class _Tp, class _Alloc> friend class _LIBCPP_TYPE_VIS_ONLY vector;
^
In file included from swift_message.cc:24:
In file included from /usr/local/include/google/protobuf/io/coded_stream.h:113:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/atomic:543:2: error: <atomic> is not implemented
#error <atomic> is not implemented
^
In file included from swift_message.cc:24:
/usr/local/include/google/protobuf/io/coded_stream.h:867:15: error: no type named 'atomic' in namespace 'std'
static std::atomic<bool> default_serialization_deterministic_;
~~~~~^
/usr/local/include/google/protobuf/io/coded_stream.h:867:21: error: expected member name or ';' after declaration specifiers
static std::atomic<bool> default_serialization_deterministic_;
~~~~~~~~~~~~~~~~~~^
/usr/local/include/google/protobuf/io/coded_stream.h:854:12: error: use of undeclared identifier 'default_serialization_deterministic_'
return default_serialization_deterministic_.load(std::memory_order_relaxed) != 0;
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make[2]: *** [swift_message.o] Error 1
depbase=`echo google/protobuf/swift-descriptor.pb.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
clang++ -DHAVE_CONFIG_H -I. -I../.. -g -O2 -DNDEBUG -MT google/protobuf/swift-descriptor.pb.o -MD -MP -MF $depbase.Tpo -c -o google/protobuf/swift-descriptor.pb.o google/protobuf/swift-descriptor.pb.cc &&\
mv -f $depbase.Tpo $depbase.Po
In file included from google/protobuf/swift-descriptor.pb.cc:4:
In file included from ./google/protobuf/swift-descriptor.pb.h:22:
In file included from /usr/local/include/google/protobuf/io/coded_stream.h:113:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/atomic:543:2: error: <atomic> is not implemented
#error <atomic> is not implemented
^
In file included from google/protobuf/swift-descriptor.pb.cc:4:
In file included from ./google/protobuf/swift-descriptor.pb.h:22:
/usr/local/include/google/protobuf/io/coded_stream.h:867:15: error: no type named 'atomic' in namespace 'std'
static std::atomic<bool> default_serialization_deterministic_;
~~~~~^
/usr/local/include/google/protobuf/io/coded_stream.h:867:21: error: expected member name or ';' after declaration specifiers
static std::atomic<bool> default_serialization_deterministic_;
~~~~~~~~~~~~~~~~~~^
/usr/local/include/google/protobuf/io/coded_stream.h:854:12: error: use of undeclared identifier 'default_serialization_deterministic_'
return default_serialization_deterministic_.load(std::memory_order_relaxed) != 0;
^
/usr/local/include/google/protobuf/io/coded_stream.h:854:59: error: no member named 'memory_order_relaxed' in namespace 'std'
return default_serialization_deterministic_.load(std::memory_order_relaxed) != 0;
~~~~~^
/usr/local/include/google/protobuf/io/coded_stream.h:894:5: error: use of undeclared identifier 'default_serialization_deterministic_'; did you mean 'is_serialization_deterministic_'?
default_serialization_deterministic_.store(true, std::memory_order_relaxed);
^
/usr/local/include/google/protobuf/io/coded_stream.h:866:8: note: 'is_serialization_deterministic_' declared here
bool is_serialization_deterministic_;
^
/usr/local/include/google/protobuf/io/coded_stream.h:894:5: error: invalid use of member 'is_serialization_deterministic_' in static member function
default_serialization_deterministic_.store(true, std::memory_order_relaxed);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/google/protobuf/io/coded_stream.h:894:59: error: no member named 'memory_order_relaxed' in namespace 'std'
default_serialization_deterministic_.store(true, std::memory_order_relaxed);
~~~~~^
In file included from google/protobuf/swift-descriptor.pb.cc:4:
In file included from ./google/protobuf/swift-descriptor.pb.h:23:
In file included from /usr/local/include/google/protobuf/arena.h:51:
/usr/local/include/google/protobuf/arena_impl.h:249:15: error: no type named 'atomic' in namespace 'std'
static std::atomic<int64> lifecycle_id_generator_;
~~~~~^
/usr/local/include/google/protobuf/arena_impl.h:249:21: error: expected member name or ';' after declaration specifiers
static std::atomic<int64> lifecycle_id_generator_;
~~~~~~~~~~~~~~~~~~^
/usr/local/include/google/protobuf/arena_impl.h:283:8: error: no type named 'atomic' in namespace 'std'
std::atomic<SerialArena*>
~~~~~^
/usr/local/include/google/protobuf/arena_impl.h:283:14: error: expected member name or ';' after declaration specifiers
std::atomic<SerialArena*>
~~~~~~~~~~~^
/usr/local/include/google/protobuf/arena_impl.h:285:8: error: no type named 'atomic' in namespace 'std'
std::atomic<SerialArena*> hint_; // Fast thread-local block access
~~~~~^
/usr/local/include/google/protobuf/arena_impl.h:285:14: error: expected member name or ';' after declaration specifiers
std::atomic<SerialArena*> hint_; // Fast thread-local block access
~~~~~~~~~~~^
/usr/local/include/google/protobuf/arena_impl.h:286:8: error: no type named 'atomic' in namespace 'std'
std::atomic<size_t> space_allocated_; // Total size of all allocated blocks.
~~~~~^
/usr/local/include/google/protobuf/arena_impl.h:286:14: error: expected member name or ';' after declaration specifiers
std::atomic<size_t> space_allocated_; // Total size of all allocated blocks.
~~~~~~~~~~~^
/usr/local/include/google/protobuf/arena_impl.h:279:5: error: use of undeclared identifier 'hint_'
hint_.store(serial, std::memory_order_release);
^
/usr/local/include/google/protobuf/arena_impl.h:279:30: error: no member named 'memory_order_release' in namespace 'std'
hint_.store(serial, std::memory_order_release);
~~~~~^
In file included from google/protobuf/swift-descriptor.pb.cc:4:
In file included from ./google/protobuf/swift-descriptor.pb.h:25:
In file included from /usr/local/include/google/protobuf/generated_message_table_driven.h:34:
In file included from /usr/local/include/google/protobuf/map.h:49:
In file included from /usr/local/include/google/protobuf/map_type_handler.h:35:
In file included from /usr/local/include/google/protobuf/wire_format_lite_inl.h:43:
/usr/local/include/google/protobuf/message_lite.h:117:3: error: unknown type name 'constexpr'
constexpr const T& get() const { return reinterpret_cast<const T&>(union_); }
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make[2]: *** [google/protobuf/swift-descriptor.pb.o] Error 1
make[2]: Target `all' not remade because of errors.
make[2]: Nothing to be done for `all-am'.
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
/usr/local/Homebrew/Library/Homebrew/debrew.rb:11:in `raise'
BuildError: Failed executing: make -k
1. raise
2. ignore
3. backtrace
4. irb
5. shell
Choose an action:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment