syntheticpp/dartruntime — Issue #2: the -Werror has creeped back in
Author: financeCoding
Created: 2011-12-16 05:26:51+00:00
State: open

Removing -Werror fixes the issue. I wonder if it could be one of the other flags that disables something that -Werror covers.

21:23:26-adam@Adams-MacBook-Air:~/dart_syntheticpp/build
$ make
[ 0%] Building CXX object CMakeFiles/dart_corelib.dir/Users/adam/dart_syntheticpp/dartruntime/runtime/vm/bootstrap.cc.o
cc1plus: warnings being treated as errors
In file included from /Users/adam/dart_syntheticpp/dartruntime/runtime/./vm/assembler.h:12,
from /Users/adam/dart_syntheticpp/dartruntime/runtime/./vm/runtime_entry.h:9,
from /Users/adam/dart_syntheticpp/dartruntime/runtime/./vm/compiler.h:10,
from /Users/adam/dart_syntheticpp/dartruntime/runtime/vm/bootstrap.cc:9:
/Users/adam/dart_syntheticpp/dartruntime/runtime/./vm/object.h: In member function ‘int dart::Bigint::NumberOfBits() const’:
/Users/adam/dart_syntheticpp/dartruntime/runtime/./vm/object.h:2420: warning: ‘BN_num_bits’ is deprecated (declared at /usr/include/openssl/bn.h:415)
/Users/adam/dart_syntheticpp/dartruntime/runtime/./vm/object.h:2420: warning: ‘BN_num_bits’ is deprecated (declared at /usr/include/openssl/bn.h:415)
/Users/adam/dart_syntheticpp/dartruntime/runtime/./vm/object.h: In member function ‘int dart::Bigint::Bit(intptr_t) const’:
/Users/adam/dart_syntheticpp/dartruntime/runtime/./vm/object.h:2422: warning: ‘BN_is_bit_set’ is deprecated (declared at /usr/include/openssl/bn.h:469)
/Users/adam/dart_syntheticpp/dartruntime/runtime/./vm/object.h:2422: warning: ‘BN_is_bit_set’ is deprecated (declared at /usr/include/openssl/bn.h:469)
make[2]: *** [CMakeFiles/dart_corelib.dir/Users/adam/dart_syntheticpp/dartruntime/runtime/vm/bootstrap.cc.o] Error 1
make[1]: *** [CMakeFiles/dart_corelib.dir/all] Error 2
make: *** [all] Error 2