projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
configure: enable -Wsuggest-attribute=format
[lttng-tools.git]
/
configure.ac
diff --git
a/configure.ac
b/configure.ac
index ea327f9b8ee82fa2ab7f2d3893fd855e21191e06..083ec34f3cd3023b7e93fbf4be42705aa16f4d21 100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-71,6
+71,10
@@
m4_define([WARN_FLAGS_LIST], [ dnl
-Wmissing-parameter-type dnl
-Wshadow dnl
-Wno-gnu-folding-constant dnl
-Wmissing-parameter-type dnl
-Wshadow dnl
-Wno-gnu-folding-constant dnl
+ -Wsuggest-attribute=format dnl
+ dnl GCC enables this with -Wall in C++, and that generates a
+ dnl lot of warnings that have on average a low value to fix.
+ -Wno-sign-compare dnl
])
# Pass -Werror as an extra flag during the test: this is needed to make the
])
# Pass -Werror as an extra flag during the test: this is needed to make the
@@
-250,7
+254,7
@@
AS_IF([test "x$libtool_fixup" = "xyes"],
[
libtool_m4="$srcdir/m4/libtool.m4"
libtool_flag_pattern=".*link_all_deplibs\s*,\s*\$1\s*)"
[
libtool_m4="$srcdir/m4/libtool.m4"
libtool_flag_pattern=".*link_all_deplibs\s*,\s*\$1\s*)"
- AC_MSG_CHECKING([for occurence(s) of link_all_deplibs = no in $libtool_m4])
+ AC_MSG_CHECKING([for occur
r
ence(s) of link_all_deplibs = no in $libtool_m4])
libtool_flag_pattern_count=$($GREP -c "$libtool_flag_pattern\s*=\s*no" $libtool_m4)
AS_IF([test $libtool_flag_pattern_count -ne 0],
[
libtool_flag_pattern_count=$($GREP -c "$libtool_flag_pattern\s*=\s*no" $libtool_m4)
AS_IF([test $libtool_flag_pattern_count -ne 0],
[
@@
-948,7
+952,6
@@
AS_IF([test x$enable_bin_lttng_crash != xno],
AS_IF([test x$enable_bin_lttng_relayd != xno],
[
AS_IF([test x$enable_bin_lttng_relayd != xno],
[
- build_lib_lttng_ctl=yes
build_lib_sessiond_comm=yes
build_lib_index=yes
build_lib_health=yes
build_lib_sessiond_comm=yes
build_lib_index=yes
build_lib_health=yes
@@
-1082,10
+1085,10
@@
AM_CONDITIONAL([BUILD_LIB_SESSIOND_COMM], [test x$build_lib_sessiond_comm = xyes
AM_CONDITIONAL([BUILD_LIB_TESTPOINT], [test x$build_lib_testpoint = xyes])
AM_CONDITIONAL([BUILD_LIB_UST_CONSUMER], [test x$build_lib_ust_consumer = xyes])
AM_CONDITIONAL([BUILD_LIB_TESTPOINT], [test x$build_lib_testpoint = xyes])
AM_CONDITIONAL([BUILD_LIB_UST_CONSUMER], [test x$build_lib_ust_consumer = xyes])
-AM_CFLAGS="$OPT_CFLAGS $WARN_CFLAGS $PTHREAD_CFLAGS"
+AM_CFLAGS="
-fvisibility=hidden
$OPT_CFLAGS $WARN_CFLAGS $PTHREAD_CFLAGS"
AC_SUBST(AM_CFLAGS)
AC_SUBST(AM_CFLAGS)
-AM_CXXFLAGS="$OPT_CXXFLAGS $WARN_CXXFLAGS $PTHREAD_CFLAGS"
+AM_CXXFLAGS="
-fvisibility=hidden -fvisibility-inlines-hidden
$OPT_CXXFLAGS $WARN_CXXFLAGS $PTHREAD_CFLAGS"
AC_SUBST(AM_CXXFLAGS)
# This is set even though it is empty, so Makefiles can do "AM_LDFLAGS += ...".
AC_SUBST(AM_CXXFLAGS)
# This is set even though it is empty, so Makefiles can do "AM_LDFLAGS += ...".
@@
-1152,6
+1155,7
@@
AC_CONFIG_FILES([
src/common/index/Makefile
src/common/health/Makefile
src/common/config/Makefile
src/common/index/Makefile
src/common/health/Makefile
src/common/config/Makefile
+ src/common/ini-config/Makefile
src/common/string-utils/Makefile
src/common/fd-tracker/Makefile
src/common/filter/Makefile
src/common/string-utils/Makefile
src/common/fd-tracker/Makefile
src/common/filter/Makefile
@@
-1347,9
+1351,9
@@
PPRINT_PROP_BOOL([LTTng-UST Python2 agent tests], $value)
test ! -z "$PYTHON3_AGENT" && value=1 || value=0
PPRINT_PROP_BOOL([LTTng-UST Python3 agent tests], $value)
test ! -z "$PYTHON3_AGENT" && value=1 || value=0
PPRINT_PROP_BOOL([LTTng-UST Python3 agent tests], $value)
-#
LTTng UST Java agent Log4j
tests enabled/disabled
+#
userspace-probe SDT instrumentation
tests enabled/disabled
test "x$test_sdt_uprobe" = "xyes" && value=1 || value=0
test "x$test_sdt_uprobe" = "xyes" && value=1 || value=0
-PPRINT_PROP_BOOL([LTTng-
UST
SDT uprobe tests], $value)
+PPRINT_PROP_BOOL([LTTng-
modules
SDT uprobe tests], $value)
#Python binding enabled/disabled
test "x$enable_python_binding" = xyes && value=1 || value=0
#Python binding enabled/disabled
test "x$enable_python_binding" = xyes && value=1 || value=0
This page took
0.024672 seconds
and
4
git commands to generate.