[Bugs] [Bug 1155181] Lots of compilation warnings on OSX. We should probably fix them.
bugzilla at redhat.com
bugzilla at redhat.com
Sun Oct 26 09:20:08 UTC 2014
https://bugzilla.redhat.com/show_bug.cgi?id=1155181
Dennis Schafroth <dennis at schafroth.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dennis at schafroth.com
--- Comment #1 from Dennis Schafroth <dennis at schafroth.com> ---
Many of them are related/duplicates and can be removed by adding
-Wno-deprecated-declarations to the clang setup in configure.ac:
diff --git a/configure.ac b/configure.ac
index 583f500..c13f93e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -798,7 +798,7 @@ AC_COMPILE_IFELSE(
AC_MSG_RESULT([$CLANG])
if test "x$CLANG" = "xyes"; then
- GF_COMPILER_FLAGS="-Wno-gnu"
+ GF_COMPILER_FLAGS="-Wno-gnu -Wno-deprecated-declarations"
fi
if test "x$ac_cv_header_execinfo_h" = "xno"; then
It will hide that some APIs is deprecated (ucontext, MD5) on OS X, but until
there is an alternative, it's noise.
--
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
More information about the Bugs
mailing list