-
-
Notifications
You must be signed in to change notification settings - Fork 24
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
Fatal error in serialization.hpp of cpp output #254
Comments
@asmfreak can you please assist? |
Well, it is a library issue, yes. I'll look into it. |
@JustinOng , can you please try #255 PR. Does it fix the error for you? |
Thanks for getting back so quickly! Unfortunately, it seems like its still breaking when configured for little endian systems:
|
I would also like to add that
Not sure why this dosen't show up in the tests, but I have to include these before |
I think it's about a different version of compiler/stdlib/platform you are using. Can it be, that you are using some kind of an ARM platform? |
Yep, I'm compiling for the ESP32 with the ESP-IDF which is little endian. However, the issue is also present when the test suite is configured for little endian - this case here seems to be problematic. (unless you're referring to the missing includes, which could be a platform-specific issue yes) |
@thirtytwobits is it really resolved though? |
@pavel-kirienko @thirtytwobits I think we need to change the test suite and/or CI workers somehow to catch this break. It's better to work in a tests-first approach. Fixing the actual compilation problem is trivial - it's a matter of changing to a different class. @JustinOng For now you can use |
On it |
1. Adding explicit little-endian tests to CI 2. Fixing issues found by said tests. 3. Small documentation fixes and update to public_regulated_data_types submodule.
@JustinOng You can try #257 to fix missing includes alongside merged #256 |
Looks great! I can confirm both the initial compilation error, and the missing includes are fixed as of #257. |
Hi! I've been playing with the cpp language support and I've found that
serialization.hpp
fails to build, even in the test suite. The following is from the Docker container specified inverification/
, with the tldr specified here.Full trace can be found here
Could I get some assistance with determining whether this is a library issue?
The text was updated successfully, but these errors were encountered: