[PATCH 1/3] build: Disable some warnings from GCC 8

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



GCC 8 -Wall -Wextra seem to enable additional checks. Those generates
lots of spourious warnings so disable them (at least for time being).
---
 acinclude.m4 | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/acinclude.m4 b/acinclude.m4
index bc39c6d73..39a6be44a 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -16,6 +16,9 @@ AC_DEFUN([COMPILER_FLAGS], [
 		with_cflags="$with_cflags -Wall -Werror -Wextra"
 		with_cflags="$with_cflags -Wno-unused-parameter"
 		with_cflags="$with_cflags -Wno-missing-field-initializers"
+		with_cflags="$with_cflags -Wno-format-truncation"
+		with_cflags="$with_cflags -Wno-cast-function-type"
+		with_cflags="$with_cflags -Wno-stringop-truncation"
 		with_cflags="$with_cflags -Wdeclaration-after-statement"
 		with_cflags="$with_cflags -Wmissing-declarations"
 		with_cflags="$with_cflags -Wredundant-decls"
-- 
2.17.0

--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux