compile error in libdart in utils.h #17809
Labels
area-vm
closed-obsolete
Closed as the reported issue is no longer relevant
type-bug
Incorrect behavior (everything from a crash to more subtle misbehavior)
This issue was originally filed by waffel.cry...@gmail.com
What steps will reproduce the problem?
1.Followed instructions from https://code.google.com/p/dart/wiki/BuildingOnCentOS
2.used 1.2 branch instead of 1.1
3.start compiling with build.py
What is the expected output? What do you see instead?
I expect a complete compile run without error.
I got:
CXX(target) out/ReleaseIA32/obj.target/libdouble_conversion/runtime/third_party/double-conversion/src/bignum.o
In file included from runtime/third_party/double-conversion/src/bignum.h:31:0,
from runtime/third_party/double-conversion/src/bignum.cc:28:
runtime/third_party/double-conversion/src/utils.h: In function ‘Dest double_conversion::BitCast(const Source&)’:
runtime/third_party/double-conversion/src/utils.h:298:16: error: typedef ‘VerifySizesAreEqual’ locally defined but not used [-Werror=unused-local-typedefs]
typedef char VerifySizesAreEqual[sizeof(Dest) == sizeof(Source) ? 1 : -1];
^
cc1plus: all warnings being treated as errors
make: *** [out/ReleaseIA32/obj.target/libdouble_conversion/runtime/third_party/double-conversion/src/bignum.o] Error 1
make: *** Waiting for unfinished jobs....
What version of the product are you using? On what operating system?
Using Fedora 20 32 bit with commandline: tools/build.py --mode=release --arch=ia32 create_sdk
The text was updated successfully, but these errors were encountered: