Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
LSH
lsh
Commits
6526ee6c
Commit
6526ee6c
authored
Feb 13, 2006
by
Niels Möller
Browse files
For gcc-4.x, add -Wno-pointer-sign to CFLAGS.
Rev: configure.ac:1.59.2.4
parent
4837b9a1
Changes
1
Hide whitespace changes
Inline
Side-by-side
configure.ac
View file @
6526ee6c
...
@@ -797,6 +797,10 @@ if test x$GCC = xyes ; then
...
@@ -797,6 +797,10 @@ if test x$GCC = xyes ; then
else
else
CFLAGS="$CFLAGS -ggdb3"
CFLAGS="$CFLAGS -ggdb3"
fi
fi
# FIXME: It would be better to actually test if this option works and/or is needed.
if "$CC" --version | grep 'gcc.* 4\.' 1>/dev/null 2>&1; then
CFLAGS="$CFLAGS -Wno-pointer-sign"
fi
CFLAGS="$CFLAGS -Wall -W \
CFLAGS="$CFLAGS -Wall -W \
-Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes \
-Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes \
-Wpointer-arith -Wbad-function-cast -Wnested-externs"
-Wpointer-arith -Wbad-function-cast -Wnested-externs"
...
...
Write
Preview
Supports
Markdown
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