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 f6465bf commit d78a2ce
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
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 d78a2ce

Please sign in to comment.