Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
b67bb05d
Commit
b67bb05d
authored
Sep 07, 2008
by
Eric Wong
Committed by
Max Kellermann
Sep 07, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
build: enable -Wcast-qual -Wwrite-strings CFLAGS
We're pretty careful about using const these days, so enable these warnings to keep us that way.
parent
86d261bd
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
config.mk.default
bs/config.mk.default
+2
-1
configure.ac
configure.ac
+2
-0
No files found.
bs/config.mk.default
View file @
b67bb05d
...
...
@@ -10,7 +10,8 @@ CC = gcc
CFLAGS = -O2 -Wall \
-Wmissing-prototypes -Wextra -Wno-unused-parameter \
-Wno-deprecated-declarations -Wmissing-prototypes \
-Wdeclaration-after-statement -Wshadow
-Wdeclaration-after-statement -Wshadow -Wpointer-arith \
-Wstrict-prototypes -Wcast-qual -Wwrite-strings
LDFLAGS = -Wl,-O1
...
...
configure.ac
View file @
b67bb05d
...
...
@@ -32,6 +32,8 @@ then
MPD_CHECK_FLAG([-Wshadow])
MPD_CHECK_FLAG([-Wpointer-arith])
MPD_CHECK_FLAG([-Wstrict-prototypes])
MPD_CHECK_FLAG([-Wcast-qual])
MPD_CHECK_FLAG([-Wwrite-strings])
fi
if test -z "$prefix" || test "x$prefix" = xNONE; then
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment