-
Notifications
You must be signed in to change notification settings - Fork 2
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
WebAssembly/Clang Update #8
Conversation
092e3ee
to
fc40694
Compare
@@ -223,18 +223,6 @@ TEST_CASE("variant - get_reference_argument ") | |||
CHECK(arg.get_type().is_wrapper() == false); | |||
CHECK(arg.get_type().is_pointer() == false); | |||
REQUIRE(arg.get_type() == rttr::type::get<simple_type>()); | |||
|
|||
|
|||
///////////////////////////////////////////////////////////////////////////////////////// |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this UT being removed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This UT has different behaviour on Clang than GCC (it passes if built with Clang but failed with GCC).
It could indicate that we were doing something wrong here (such as an undefined behaviour), but at this time we do not actually care about the behaviour when passing in a void*
so I decided to remove it after a discussion with James.
Make rttr give bindr5000 a reasonable error if it fails to load a dll, a message like the one below is way more helpful than just silently failing: "rttr failed to load Cognex.OMX, Cannot load library Cognex.OMX /home/omxdev/build_e/bin/libCognex.OMX.so: undefined symbol: _ZNK17ccFrequencyBuffer5widthEv"
Add the compiler recognition for visual studio 2019.
When this #pragma is present, if you use /external:W0 for your project then all your internal headers are also set to /W0 for warning level.
LD_LIBRARY_PATH was not set correctlyqqq
Additional: disable initializer list warning
fc40694
to
5a5efd9
Compare
Closing this PR since this branch ended up in a terrible state of commit history. |
This PR:
void*
error inget_reference_argument
to resolve errors/warnings reported by Clang/Emscripten.
This PR also rebases off the latest rttrorg/rttr/master commits.
For reviewers: most commits in this PR are from the rebase. Please focus on reviewing commit
0104c37
tofc40694
which are "real" contents of the PR.