Skip to content

Commit

Permalink
no message
Browse files Browse the repository at this point in the history
  • Loading branch information
alexey-lysiuk committed Oct 1, 2024
1 parent df48f16 commit 41c2805
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ jobs:
matrix:
config:
- name: Linux Clang
os: ubuntu-22.04
os: ubuntu-24.04
extra_options: -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++

- name: Linux GCC
os: ubuntu-22.04
os: ubuntu-24.04

- name: macOS Intel
os: macos-13
Expand Down
6 changes: 4 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -382,10 +382,12 @@ else()
set_source_files_properties(${IMGUI_COLOR_TEXT_EDIT_DIR}/TextEditor.cpp
PROPERTIES COMPILE_FLAGS "-Wno-unused-variable -Wno-sign-compare")

# Disable G++ format string truncation warning
# warning: ‘%s’ directive output may be truncated writing up to 31 bytes into a region of size 28
if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
# Disable warning: '%s' directive output may be truncated writing up to 31 bytes into a region of size 28
set_source_files_properties(${IMGUI_DIR}/imgui_demo.cpp PROPERTIES COMPILE_FLAGS "-Wno-format-truncation")

# Disable warning: specified size between ... and ... exceeds maximum object size
set_source_files_properties(${IMGUI_DIR}/imgui_draw.cpp PROPERTIES COMPILE_FLAGS "-Wno-stringop-overflow")
endif()

# Disable C++ exceptions and RTTI
Expand Down
1 change: 1 addition & 0 deletions Quake/sv_phys.c
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,7 @@ int SV_FlyMove (edict_t *ent, float time, trace_t *steptrace)
blocked = 0;
VectorCopy (ent->v.velocity, original_velocity);
VectorCopy (ent->v.velocity, primal_velocity);
VectorCopy (vec3_origin, new_velocity);
numplanes = 0;

time_left = time;
Expand Down

0 comments on commit 41c2805

Please sign in to comment.