Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compile error in libdart in utils.h #17809

Closed
DartBot opened this issue Mar 26, 2014 · 2 comments
Closed

compile error in libdart in utils.h #17809

DartBot opened this issue Mar 26, 2014 · 2 comments
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)

Comments

@DartBot
Copy link

DartBot commented Mar 26, 2014

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

@floitschG
Copy link
Contributor

Probably dupe of issue #16634.


Added Area-VM, Triaged labels.

@DartBot
Copy link
Author

DartBot commented Apr 1, 2014

This comment was originally written by cotte...@gmail.com


This also happens on 1.2, Amazon Linux AMI 2014.03 64 bit.

@kevmoo kevmoo added type-bug Incorrect behavior (everything from a crash to more subtle misbehavior) and removed priority-unassigned labels Feb 29, 2016
@zanderso zanderso added the closed-obsolete Closed as the reported issue is no longer relevant label Jun 23, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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)
Projects
None yet
Development

No branches or pull requests

4 participants