Skip to content

added missing -std=c++11 flag in build.sh - #64

Closed
satrac wants to merge 3 commits into
4coder-community:developfrom
satrac:develop
Closed

added missing -std=c++11 flag in build.sh#64
satrac wants to merge 3 commits into
4coder-community:developfrom
satrac:develop

Conversation

@satrac

@satrac satrac commented Aug 1, 2026

Copy link
Copy Markdown

Added missing -std=c++11 flag in build.sh.
Matches gcc flag found in build_metadata.sh and buildsuper_x64-linux.sh

@satrac
satrac requested a review from a team as a code owner August 1, 2026 15:30
@zhedye

zhedye commented Aug 15, 2026

Copy link
Copy Markdown
Contributor

Useful since std::lerp was added in C++20, so without it I get this:

4cc/code/custom/4coder_base_types.cpp:1508:25: error: ‘f32 lerp(f32, f32, f32)’ conflicts with a previous declaration
 1508 | lerp(f32 a, f32 t, f32 b){
      |                         ^
In file included from /usr/include/c++/16/math.h:36,
                 from /home/ds/code/4cc/code/custom/4coder_base_types.cpp:319:
/usr/include/c++/16/cmath:3857:3: note: previous declaration ‘constexpr float std::lerp(float, float, float)’
 3857 |   lerp(float __a, float __b, float __t) noexcept

@zhedye

zhedye commented Aug 16, 2026

Copy link
Copy Markdown
Contributor

Can you move the new scripts and the linux alsa stuff to other PRs?

@satrac

satrac commented Aug 17, 2026

Copy link
Copy Markdown
Author

Can you move the new scripts and the linux alsa stuff to other PRs?

yes let me resubmit.

@satrac satrac closed this Aug 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants