Skip to content

Instantly share code, notes, and snippets.

@pkieltyka
Created November 11, 2016 01:38
Show Gist options
  • Save pkieltyka/c0886b58de3c58af771693b45c61e163 to your computer and use it in GitHub Desktop.
Save pkieltyka/c0886b58de3c58af771693b45c61e163 to your computer and use it in GitHub Desktop.
[peter@pak ~/Dev/other/grpc-web/third_party/grpc]$ make
[MAKE] Generating cache.mk
[HOSTCXX] Compiling src/compiler/csharp_generator.cc
In file included from src/compiler/csharp_generator.cc:39:
In file included from ./src/compiler/csharp_generator.h:37:
In file included from ./src/compiler/config.h:37:
In file included from include/grpc++/impl/codegen/config_protobuf.h:43:
In file included from /usr/local/Cellar/protobuf/3.1.0/include/google/protobuf/message.h:118:
In file included from /usr/local/Cellar/protobuf/3.1.0/include/google/protobuf/arena.h:54:
In file included from /usr/local/Cellar/protobuf/3.1.0/include/google/protobuf/stubs/atomic_sequence_num.h:33:
In file included from /usr/local/Cellar/protobuf/3.1.0/include/google/protobuf/stubs/atomicops.h:199:
/usr/local/Cellar/protobuf/3.1.0/include/google/protobuf/stubs/atomicops_internals_macosx.h:47:9: error: 'OSAtomicCompareAndSwap32' is deprecated: first deprecated in macOS 10.12 - Use
std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from <atomic> instead [-Werror,-Wdeprecated-declarations]
if (OSAtomicCompareAndSwap32(old_value, new_value,
^
/usr/include/libkern/OSAtomicDeprecated.h:502:9: note: 'OSAtomicCompareAndSwap32' has been explicitly marked deprecated here
bool OSAtomicCompareAndSwap32( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue );
^
In file included from src/compiler/csharp_generator.cc:39:
In file included from ./src/compiler/csharp_generator.h:37:
In file included from ./src/compiler/config.h:37:
In file included from include/grpc++/impl/codegen/config_protobuf.h:43:
In file included from /usr/local/Cellar/protobuf/3.1.0/include/google/protobuf/message.h:118:
In file included from /usr/local/Cellar/protobuf/3.1.0/include/google/protobuf/arena.h:54:
In file included from /usr/local/Cellar/protobuf/3.1.0/include/google/protobuf/stubs/atomic_sequence_num.h:33:
In file included from /usr/local/Cellar/protobuf/3.1.0/include/google/protobuf/stubs/atomicops.h:199:
/usr/local/Cellar/protobuf/3.1.0/include/google/protobuf/stubs/atomicops_internals_macosx.h:61:13: error: 'OSAtomicCompareAndSwap32' is deprecated: first deprecated in macOS 10.12 - Use
std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from <atomic> instead [-Werror,-Wdeprecated-declarations]
} while (!OSAtomicCompareAndSwap32(old_value, new_value,
^
/usr/include/libkern/OSAtomicDeprecated.h:502:9: note: 'OSAtomicCompareAndSwap32' has been explicitly marked deprecated here
bool OSAtomicCompareAndSwap32( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue );
^
In file included from src/compiler/csharp_generator.cc:39:
In file included from ./src/compiler/csharp_generator.h:37:
In file included from ./src/compiler/config.h:37:
In file included from include/grpc++/impl/codegen/config_protobuf.h:43:
In file included from /usr/local/Cellar/protobuf/3.1.0/include/google/protobuf/message.h:118:
In file included from /usr/local/Cellar/protobuf/3.1.0/include/google/protobuf/arena.h:54:
In file included from /usr/local/Cellar/protobuf/3.1.0/include/google/protobuf/stubs/atomic_sequence_num.h:33:
In file included from /usr/local/Cellar/protobuf/3.1.0/include/google/protobuf/stubs/atomicops.h:199:
/usr/local/Cellar/protobuf/3.1.0/include/google/protobuf/stubs/atomicops_internals_macosx.h:68:10: error: 'OSAtomicAdd32' is deprecated: first deprecated in macOS 10.12 - Use
std::atomic_fetch_add_explicit(std::memory_order_relaxed) from <atomic> instead [-Werror,-Wdeprecated-declarations]
return OSAtomicAdd32(increment, const_cast<Atomic32*>(ptr));
^
/usr/include/libkern/OSAtomicDeprecated.h:146:9: note: 'OSAtomicAdd32' has been explicitly marked deprecated here
int32_t OSAtomicAdd32( int32_t __theAmount, volatile int32_t *__theValue );
^
In file included from src/compiler/csharp_generator.cc:39:
In file included from ./src/compiler/csharp_generator.h:37:
In file included from ./src/compiler/config.h:37:
In file included from include/grpc++/impl/codegen/config_protobuf.h:43:
In file included from /usr/local/Cellar/protobuf/3.1.0/include/google/protobuf/message.h:118:
In file included from /usr/local/Cellar/protobuf/3.1.0/include/google/protobuf/arena.h:54:
In file included from /usr/local/Cellar/protobuf/3.1.0/include/google/protobuf/stubs/atomic_sequence_num.h:33:
In file included from /usr/local/Cellar/protobuf/3.1.0/include/google/protobuf/stubs/atomicops.h:199:
/usr/local/Cellar/protobuf/3.1.0/include/google/protobuf/stubs/atomicops_internals_macosx.h:73:10: error: 'OSAtomicAdd32Barrier' is deprecated: first deprecated in macOS 10.12 - Use
std::atomic_fetch_add() from <atomic> instead [-Werror,-Wdeprecated-declarations]
return OSAtomicAdd32Barrier(increment, const_cast<Atomic32*>(ptr));
^
/usr/include/libkern/OSAtomicDeprecated.h:161:9: note: 'OSAtomicAdd32Barrier' has been explicitly marked deprecated here
int32_t OSAtomicAdd32Barrier( int32_t __theAmount, volatile int32_t *__theValue );
^
In file included from src/compiler/csharp_generator.cc:39:
In file included from ./src/compiler/csharp_generator.h:37:
In file included from ./src/compiler/config.h:37:
In file included from include/grpc++/impl/codegen/config_protobuf.h:43:
In file included from /usr/local/Cellar/protobuf/3.1.0/include/google/protobuf/message.h:118:
In file included from /usr/local/Cellar/protobuf/3.1.0/include/google/protobuf/arena.h:54:
In file included from /usr/local/Cellar/protobuf/3.1.0/include/google/protobuf/stubs/atomic_sequence_num.h:33:
In file included from /usr/local/Cellar/protobuf/3.1.0/include/google/protobuf/stubs/atomicops.h:199:
/usr/local/Cellar/protobuf/3.1.0/include/google/protobuf/stubs/atomicops_internals_macosx.h:77:3: error: 'OSMemoryBarrier' is deprecated: first deprecated in macOS 10.12 - Use
std::atomic_thread_fence() from <atomic> instead [-Werror,-Wdeprecated-declarations]
OSMemoryBarrier();
^
/usr/include/libkern/OSAtomicDeprecated.h:749:9: note: 'OSMemoryBarrier' has been explicitly marked deprecated here
void OSMemoryBarrier( void );
^
In file included from src/compiler/csharp_generator.cc:39:
In file included from ./src/compiler/csharp_generator.h:37:
In file included from ./src/compiler/config.h:37:
In file included from include/grpc++/impl/codegen/config_protobuf.h:43:
In file included from /usr/local/Cellar/protobuf/3.1.0/include/google/protobuf/message.h:118:
In file included from /usr/local/Cellar/protobuf/3.1.0/include/google/protobuf/arena.h:54:
In file included from /usr/local/Cellar/protobuf/3.1.0/include/google/protobuf/stubs/atomic_sequence_num.h:33:
In file included from /usr/local/Cellar/protobuf/3.1.0/include/google/protobuf/stubs/atomicops.h:199:
/usr/local/Cellar/protobuf/3.1.0/include/google/protobuf/stubs/atomicops_internals_macosx.h:85:9: error: 'OSAtomicCompareAndSwap32Barrier' is deprecated: first deprecated in macOS 10.12 - Use
std::atomic_compare_exchange_strong() from <atomic> instead [-Werror,-Wdeprecated-declarations]
if (OSAtomicCompareAndSwap32Barrier(old_value, new_value,
^
/usr/include/libkern/OSAtomicDeprecated.h:518:9: note: 'OSAtomicCompareAndSwap32Barrier' has been explicitly marked deprecated here
bool OSAtomicCompareAndSwap32Barrier( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue );
^
In file included from src/compiler/csharp_generator.cc:39:
In file included from ./src/compiler/csharp_generator.h:37:
In file included from ./src/compiler/config.h:37:
In file included from include/grpc++/impl/codegen/config_protobuf.h:43:
In file included from /usr/local/Cellar/protobuf/3.1.0/include/google/protobuf/message.h:118:
In file included from /usr/local/Cellar/protobuf/3.1.0/include/google/protobuf/arena.h:54:
In file included from /usr/local/Cellar/protobuf/3.1.0/include/google/protobuf/stubs/atomic_sequence_num.h:33:
In file included from /usr/local/Cellar/protobuf/3.1.0/include/google/protobuf/stubs/atomicops.h:199:
/usr/local/Cellar/protobuf/3.1.0/include/google/protobuf/stubs/atomicops_internals_macosx.h:138:9: error: 'OSAtomicCompareAndSwap64' is deprecated: first deprecated in macOS 10.12 - Use
std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from <atomic> instead [-Werror,-Wdeprecated-declarations]
if (OSAtomicCompareAndSwap64(old_value, new_value,
^
/usr/include/libkern/OSAtomicDeprecated.h:628:9: note: 'OSAtomicCompareAndSwap64' has been explicitly marked deprecated here
bool OSAtomicCompareAndSwap64( int64_t __oldValue, int64_t __newValue,
^
In file included from src/compiler/csharp_generator.cc:39:
In file included from ./src/compiler/csharp_generator.h:37:
In file included from ./src/compiler/config.h:37:
In file included from include/grpc++/impl/codegen/config_protobuf.h:43:
In file included from /usr/local/Cellar/protobuf/3.1.0/include/google/protobuf/message.h:118:
In file included from /usr/local/Cellar/protobuf/3.1.0/include/google/protobuf/arena.h:54:
In file included from /usr/local/Cellar/protobuf/3.1.0/include/google/protobuf/stubs/atomic_sequence_num.h:33:
In file included from /usr/local/Cellar/protobuf/3.1.0/include/google/protobuf/stubs/atomicops.h:199:
/usr/local/Cellar/protobuf/3.1.0/include/google/protobuf/stubs/atomicops_internals_macosx.h:152:13: error: 'OSAtomicCompareAndSwap64' is deprecated: first deprecated in macOS 10.12 - Use
std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from <atomic> instead [-Werror,-Wdeprecated-declarations]
} while (!OSAtomicCompareAndSwap64(old_value, new_value,
^
/usr/include/libkern/OSAtomicDeprecated.h:628:9: note: 'OSAtomicCompareAndSwap64' has been explicitly marked deprecated here
bool OSAtomicCompareAndSwap64( int64_t __oldValue, int64_t __newValue,
^
In file included from src/compiler/csharp_generator.cc:39:
In file included from ./src/compiler/csharp_generator.h:37:
In file included from ./src/compiler/config.h:37:
In file included from include/grpc++/impl/codegen/config_protobuf.h:43:
In file included from /usr/local/Cellar/protobuf/3.1.0/include/google/protobuf/message.h:118:
In file included from /usr/local/Cellar/protobuf/3.1.0/include/google/protobuf/arena.h:54:
In file included from /usr/local/Cellar/protobuf/3.1.0/include/google/protobuf/stubs/atomic_sequence_num.h:33:
In file included from /usr/local/Cellar/protobuf/3.1.0/include/google/protobuf/stubs/atomicops.h:199:
/usr/local/Cellar/protobuf/3.1.0/include/google/protobuf/stubs/atomicops_internals_macosx.h:159:10: error: 'OSAtomicAdd64' is deprecated: first deprecated in macOS 10.12 - Use
std::atomic_fetch_add_explicit(std::memory_order_relaxed) from <atomic> instead [-Werror,-Wdeprecated-declarations]
return OSAtomicAdd64(increment, reinterpret_cast<volatile int64_t*>(ptr));
^
/usr/include/libkern/OSAtomicDeprecated.h:231:9: note: 'OSAtomicAdd64' has been explicitly marked deprecated here
int64_t OSAtomicAdd64( int64_t __theAmount,
^
In file included from src/compiler/csharp_generator.cc:39:
In file included from ./src/compiler/csharp_generator.h:37:
In file included from ./src/compiler/config.h:37:
In file included from include/grpc++/impl/codegen/config_protobuf.h:43:
In file included from /usr/local/Cellar/protobuf/3.1.0/include/google/protobuf/message.h:118:
In file included from /usr/local/Cellar/protobuf/3.1.0/include/google/protobuf/arena.h:54:
In file included from /usr/local/Cellar/protobuf/3.1.0/include/google/protobuf/stubs/atomic_sequence_num.h:33:
In file included from /usr/local/Cellar/protobuf/3.1.0/include/google/protobuf/stubs/atomicops.h:199:
/usr/local/Cellar/protobuf/3.1.0/include/google/protobuf/stubs/atomicops_internals_macosx.h:164:10: error: 'OSAtomicAdd64Barrier' is deprecated: first deprecated in macOS 10.12 - Use
std::atomic_fetch_add() from <atomic> instead [-Werror,-Wdeprecated-declarations]
return OSAtomicAdd64Barrier(increment,
^
/usr/include/libkern/OSAtomicDeprecated.h:247:9: note: 'OSAtomicAdd64Barrier' has been explicitly marked deprecated here
int64_t OSAtomicAdd64Barrier( int64_t __theAmount,
^
In file included from src/compiler/csharp_generator.cc:39:
In file included from ./src/compiler/csharp_generator.h:37:
In file included from ./src/compiler/config.h:37:
In file included from include/grpc++/impl/codegen/config_protobuf.h:43:
In file included from /usr/local/Cellar/protobuf/3.1.0/include/google/protobuf/message.h:118:
In file included from /usr/local/Cellar/protobuf/3.1.0/include/google/protobuf/arena.h:54:
In file included from /usr/local/Cellar/protobuf/3.1.0/include/google/protobuf/stubs/atomic_sequence_num.h:33:
In file included from /usr/local/Cellar/protobuf/3.1.0/include/google/protobuf/stubs/atomicops.h:199:
/usr/local/Cellar/protobuf/3.1.0/include/google/protobuf/stubs/atomicops_internals_macosx.h:173:9: error: 'OSAtomicCompareAndSwap64Barrier' is deprecated: first deprecated in macOS 10.12 - Use
std::atomic_compare_exchange_strong() from <atomic> instead [-Werror,-Wdeprecated-declarations]
if (OSAtomicCompareAndSwap64Barrier(
^
/usr/include/libkern/OSAtomicDeprecated.h:645:9: note: 'OSAtomicCompareAndSwap64Barrier' has been explicitly marked deprecated here
bool OSAtomicCompareAndSwap64Barrier( int64_t __oldValue, int64_t __newValue,
^
11 errors generated.
make: *** [/Users/peter/Dev/other/grpc-web/third_party/grpc/objs/opt/src/compiler/csharp_generator.o] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment