-
-
Notifications
You must be signed in to change notification settings - Fork 264
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
[LLVM error] msgpack-d 0.9.3 unittesting fails #841
Labels
Comments
|
Reduced test case for master: But this is not the initial error from 0.15.1. |
redstar
added a commit
to redstar/ldc
that referenced
this issue
Feb 28, 2015
The `union` is not created as packed type. This seems to create problems with the default initializer:
struct Foo
{
static union Bar
{
bool b;
ulong l;
}
Bar bar;
}
static this()
{
Foo foo = Foo();
}
creates an error. If you change the order inside the union
static union Bar
{
ulong l;
bool b;
}
then the code works.
Also cleans up the creation of the additonal zeroes for the initializer.
|
Fixed in master. Could you please check? |
|
Sorry for delay, it works now. |
|
Thanks! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
this command:
drug@astra:~/.dub/packages/msgpack-d-0.9.3$ dub --build=unittest --compiler=ldmd2fails with the result:
Without the unittest option all works fine.
Compiler version is:
The text was updated successfully, but these errors were encountered: