-
Notifications
You must be signed in to change notification settings - Fork 1.2k
refactor: c++ 17 #7038
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
base: master
Are you sure you want to change the base?
refactor: c++ 17 #7038
Conversation
bbfda98
to
3576eb9
Compare
Is this one next up? Do you know what caused the test fails? |
3576eb9
to
0dd3516
Compare
0dd3516
to
cd81a22
Compare
#elif defined(_M_ARM) | ||
extern "C" void *arm_CallEhFrame(void *target, void *framePtr, void *localsPtr, size_t argsSize) throw(...); | ||
extern "C" void *arm_CallCatch(void *target, void *framePtr, void *localsPtr, size_t argsSize, void *catchObj) throw(...); | ||
extern "C" void *arm_CallEhFrame(void *target, void *framePtr, void *localsPtr, size_t argsSize); |
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.
Should there be a noexcept(false) on this line, like the other lines?
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.
Oh, yes. Seems like I missed that one.
Interestingly, none of the CI compilations got that...
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.
32bit arm is a gap in our testing coverage; when we set up the CI we couldn't find a free service that would test it for us.
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.
Fixed in 6bf3471
We still get a test failure for x64 NativeTests which likely means GC is not working any more (not good). ChakraCore/bin/NativeTests/JsRTApiTest.cpp Line 136 in c6a9549
So far, I cannot reproduce this issue with a local build. Edit: The issue is reproducable using the ci build from Azure Artifacts. Edit: Only happens in 'Test' (likely in 'Release' aswell) not 'Debug' configuration. |
d2fdef9
to
b8e02b3
Compare
Can you reproduce with a local Test build? Or only by downloading a test build? If this dependent on compiler versions it may be awkward to solve, hopefully it's a simple configuration issue somehow... |
That's the problem: I can't 🙈
I fear that might be the case...
Here's what I did:
|
LibICU now requires c++ 17 but CC currently uses c++ 11:
ChakraCore/CMakeLists.txt
Line 375 in 36becec
This causes MacOS ci to fail.
📣 Changes
thow(...)
bool std::uncaught_exception()
is replaced byint uncaught_exceptions()
see uncaught_exception💥 Breaking changes
@ppenzin
Fixes #3147
Fixes #6378