latest git won't build on clang/libstdc++
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Newbie friendliness
- 82/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- cmake, cpp
- Domain
- build-system
Research direction
Start with src/xrCore/xrMemory.h and the Externals/luabind submodule revision shown in the issue. Add the missing type traits header, update the luabind submodule as described, then try building with clang 23 and libc++ 23. Done when that build succeeds.
Written by the indexing model from the issue text.
Description
Describe the bug
Won't compile. Needs a bunch of headers, some of which are in the Externals but this one is from this repo and unlocks the build with clang 23 and libc++ 23
This Fixes it
diff --git a/Externals/luabind b/Externals/luabind
--- a/Externals/luabind
+++ b/Externals/luabind
@@ -1 +1 @@
-Subproject commit 8da131b830f2615115c65438d48ac52cb9b7fa00
+Subproject commit 8da131b830f2615115c65438d48ac52cb9b7fa00-dirty
diff --git a/src/xrCore/xrMemory.h b/src/xrCore/xrMemory.h
index 6b46fcc..2680296 100644
--- a/src/xrCore/xrMemory.h
+++ b/src/xrCore/xrMemory.h
@@ -3,6 +3,7 @@
#include "xr_types.h"
#include <new>
+#include <type_traits>
class XRCORE_API xrMemory
{
Additional context
$ c++ -stdlib=libc++ -v
Debian clang version 23.1.6 (1)
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm-23/bin
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/11
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/14
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/15
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/16
Selected GCC installation: /usr/lib/gcc/x86_64-linux-gnu/16
Candidate multilib: .;@m64
Selected multilib: .;@m64
Found CUDA installation: /usr/local/cuda, version
Found HIP installation: /opt/rocm, version 7.16.26385
- Dominant language
- C++
- Stars
- 3.6k
- Forks
- 565
- Avg merge
- 9h 54m
- Merged PRs (30d)
- 3
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from OpenXRay/xray-16
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
Maintainers usually reply within 1 day
-
Bug Call of Pripyat Mods Portability
Difficulty 4/5 Over a week Newbie friendliness 15/100
OpenXRay/xray-16#2215 · 1 comment ·
Maintainers usually reply within 1 day
-
Bug
Difficulty 4/5 3-5 days Newbie friendliness 45/100
Maintainers usually reply within 1 day
-
Bug Linux OpenGL
Difficulty 4/5 3-5 days Newbie friendliness 35/100
OpenXRay/xray-16#2197 · 5 comments ·
Maintainers usually reply within 1 day
-
Enhancement Portability
Difficulty 5/5 Over a week Newbie friendliness 10/100
Maintainers usually reply within 1 day
All issues in OpenXRay/xray-16
Similar issues
-
Invalid-MissingHash/Commit/NotAC
Difficulty 1/5 1-3 hours Newbie friendliness 88/100
azerothcore/azerothcore-wotlk#28636 ·
Maintainers usually reply within 1 day
-
(S1 - Need confirmation)
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
CleverRaven/Cataclysm-DDA#89829 ·
Maintainers usually reply within 1 day
-
comp-documentation
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
ClickHouse/ClickHouse#136277 ·
Maintainers usually reply within 1 day
-
Flow Needs: Triage :mag:
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
react/react-native#60447 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day