Skip to content
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

Broken compilation with LLVM 8.0.1 #499

Closed
pkubaj opened this issue Oct 22, 2019 · 0 comments
Closed

Broken compilation with LLVM 8.0.1 #499

pkubaj opened this issue Oct 22, 2019 · 0 comments
Labels
Build issue The issue in the build-time. Help wanted Portability
Milestone

Comments

@pkubaj
Copy link

pkubaj commented Oct 22, 2019

Describe the bug
I can't compile with LLVM 8.0.1:
/wrkdirs/usr/ports/games/openxray/work/xray-16-510/Externals/ode/ode/src/quickstep.cpp:428:9: error: no member named 'random_shuffle' in namespace 'std'
std::random_shuffle (order,order+m);
~~~~~^
1 error generated.

Note that std::random_shuffle was removed in C++17, but OpenXRay uses C++17. Either downgrade to C++14 or stop using std::random_shuffle.

To Reproduce
Try to compile with LLVM 8.0.1.

Expected behavior
The software should compile successfully.

Desktop (please complete the following information):

  • OS: FreeBSD 12.1-RC2
  • OpenXRay build version 510
@pkubaj pkubaj added the Bug The issue in the run-time. label Oct 22, 2019
@Xottab-DUTY Xottab-DUTY added Build issue The issue in the build-time. and removed Bug The issue in the run-time. labels Oct 3, 2020
@Xottab-DUTY Xottab-DUTY linked a pull request May 5, 2021 that will close this issue
@Xottab-DUTY Xottab-DUTY added this to the Linux port milestone May 5, 2021
@Xottab-DUTY Xottab-DUTY linked a pull request May 5, 2021 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Build issue The issue in the build-time. Help wanted Portability
Projects
Status: Done
2 participants