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

Fails to build on x86 #34

Open
jbeich opened this issue Jan 14, 2019 · 1 comment
Open

Fails to build on x86 #34

jbeich opened this issue Jan 14, 2019 · 1 comment

Comments

@jbeich
Copy link

jbeich commented Jan 14, 2019

Found on FreeBSD i386:

In file included from src/test_generator.cpp:10:
src/./test.h:37:1: fatal error: static_assert failed
static_assert(sizeof(TestCase) == 4312);
^             ~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
@jbeich
Copy link
Author

jbeich commented Jan 14, 2019

Adding __attribute__((__packed__)) to TestCase definition makes sizeof output more predictable.

rafaelvcaetano added a commit to rafaelvcaetano/melonDS-android that referenced this issue Oct 18, 2021
Workaround for compilation error on x86 builds. This is due to an issue (wwylele/teakra#34) on the teakra library, which is used by melonDS. Since the list of x86 devices is so limited, this should have no real impact.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant