Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
SRB2
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
STJr
SRB2
Commits
210c9419
Commit
210c9419
authored
3 years ago
by
James R.
Browse files
Options
Downloads
Patches
Plain Diff
Ignore -Wtrigraphs
parent
8b021ec1
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!1504
Fix some compiler warnings
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/CMakeLists.txt
+2
-0
2 additions, 0 deletions
src/CMakeLists.txt
src/Makefile.cfg
+1
-1
1 addition, 1 deletion
src/Makefile.cfg
with
3 additions
and
1 deletion
src/CMakeLists.txt
+
2
−
0
View file @
210c9419
...
...
@@ -604,6 +604,8 @@ if (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
set
(
CMAKE_C_FLAGS
${
CMAKE_C_FLAGS
}
-Wno-absolute-value
)
endif
()
set
(
CMAKE_C_FLAGS
${
CMAKE_C_FLAGS
}
-Wno-trigraphs
)
add_definitions
(
-DCMAKECONFIG
)
#add_library(SRB2Core STATIC
...
...
This diff is collapsed.
Click to expand it.
src/Makefile.cfg
+
1
−
1
View file @
210c9419
...
...
@@ -209,7 +209,7 @@ endif
OLDWFLAGS
:=
$(
WFLAGS
)
# -W -Wno-unused
WFLAGS
=
-Wall
WFLAGS
=
-Wall
-Wno-trigraphs
ifndef
GCC295
#WFLAGS+=-Wno-packed
endif
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment