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
9495e635
Commit
9495e635
authored
4 years ago
by
James R.
Browse files
Options
Downloads
Patches
Plain Diff
Makefile: Make WARNINGMODE the default, optionally disable with RELAXWARNINGS
parent
f0bf06ae
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!1122
Use WARNINGMODE by default
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/Makefile
+2
-1
2 additions, 1 deletion
src/Makefile
src/Makefile.cfg
+1
-4
1 addition, 4 deletions
src/Makefile.cfg
with
3 additions
and
5 deletions
src/Makefile
+
2
−
1
View file @
9495e635
...
...
@@ -58,7 +58,8 @@
# Compile with GCC 4.6x version, add 'GCC46=1'
# Compile a profile version, add 'PROFILEMODE=1'
# Compile a debug version, add 'DEBUGMODE=1'
# Compile with extra warnings, add 'WARNINGMODE=1'
# Compile with less warnings, add 'RELAXWARNINGS=1'
# Generate compiler errors for most compiler warnings, add 'ERRORMODE=1'
# Compile without NASM's tmap.nas, add 'NOASM=1'
# Compile without 3D hardware support, add 'NOHW=1'
# Compile without 3D sound support, add 'NOHS=1'
...
...
This diff is collapsed.
Click to expand it.
src/Makefile.cfg
+
1
−
4
View file @
9495e635
...
...
@@ -210,10 +210,7 @@ WFLAGS=-Wall
ifndef
GCC295
#WFLAGS+=-Wno-packed
endif
ifdef
ERRORMODE
WARNINGMODE
=
1
endif
ifdef
WARNINGMODE
ifndef
RELAXWARNINGS
WFLAGS
+=
-W
#WFLAGS+=-Wno-sign-compare
ifndef
GCC295
...
...
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