projects
/
rtaudio-cdist.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4a75d6d
)
Don't error on unused-function.
author
Stephen Sinclair
<radarsat1@gmail.com>
Fri, 24 Aug 2018 11:13:23 +0000
(08:13 -0300)
committer
Stephen Sinclair
<radarsat1@gmail.com>
Fri, 24 Aug 2018 11:13:25 +0000
(08:13 -0300)
Because of convertCharPointerToStdString for example.
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index aab625a6f2e0fc9f0387248310f02539aa97f531..322f1b49b8044eb2f10319ad7016746c96d81729 100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-86,8
+86,8
@@
AC_CHECK_HEADERS(sys/ioctl.h unistd.h)
AS_IF([test "x${GXX}" = "xyes" ], [
CXXFLAGS="-Wall -Wextra ${CXXFLAGS}"
AS_IF([ test "x${enable_debug}" = "xyes" ], [
- # Add -Werror in debug mode
- CXXFLAGS="-Werror ${CXXFLAGS}"
+ # Add -Werror in debug mode
(except unused-function)
+ CXXFLAGS="-Werror
-Wno-error=unused-function
${CXXFLAGS}"
], [
# hide private symbols in non-debug mode
visibility="-fvisibility=hidden"