-
Notifications
You must be signed in to change notification settings - Fork 614
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
Included gsl-lite fails to compile with g++-13 13.2.0 #1159
Comments
Changing all the |
smcv
added a commit
to smcv/OpenJK
that referenced
this issue
Sep 12, 2023
With g++ 13, if we don't do this for names appearing inside `namespace gsl {}`, then they're interpreted as being `gsl::std::unique_ptr` and so on. Resolves: JACoders#1159 Signed-off-by: Simon McVittie <smcv@debian.org>
This was referenced Sep 12, 2023
This should be fixed now that #1154 was merged, but I haven't verified that yet. |
Confirmed fixed by #1154. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Operating system and version:
Debian testing/unstable, with g++ 13.2.0 as default C++ compiler.
Is this for single player or multiplayer?
yes :-)
Description of the bug (and if possible, steps to reproduce the bug):
To reproduce: build from source, with JK2 enabled (and I'm using
CMAKE_BUILD_TYPE=Debug UseInternalZlib=0 BuildTests=ON
, if that matters).I get lots of C++ errors from
gsl-lite.h
, here are the first few:What did you expect to happen instead?
Successful compile. Building with g++-12 version 12.3.0 (which was Debian's default before we upgraded to 13) still builds successfully.
The text was updated successfully, but these errors were encountered: