-
-
Notifications
You must be signed in to change notification settings - Fork 21.4k
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
Fix some build errors with disable_3d=yes
#86874
Conversation
37c63f0
to
b7ccc65
Compare
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 parts errors regardless, a switch
with only a default
b7ccc65
to
6abd7bb
Compare
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.
See also #79185
6abd7bb
to
a87a273
Compare
* Some tests were incorrectly included * SCU builds with animation * Animation `switch`
a87a273
to
c6a1ae7
Compare
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.
Looks good to me.
disable_3d=Yes
disable_3d=yes
Thanks! |
Thank you! |
Cherry-picked for 4.2.2. |
switch
I'm unsure if this is the best way with the scu, but it solves the issue, could also wrap the code in
#ifndef
but picked this way for right now, can switch if desiredI'm not sure why the linking fails with the SCU builds if the file is along with the others, so worth investigating separately
Edit: Swapped to the plain
#ifndef
version, felt more guaranteedThe issues with the SCU is link errors, which might be MSVC specific, haven't confirmed yetNot MSVC specific, happens on mingw as well