[packages/VirtualBox] - make gcc 4.8 to really not barf on unused parameters
baggins
baggins at pld-linux.org
Sat May 25 15:37:15 CEST 2013
commit 4c0b7ad691e8bc6cce53836ecb7ce54ee33c79b6
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Sat May 25 15:36:08 2013 +0200
- make gcc 4.8 to really not barf on unused parameters
gcc48.patch | 11 +++++++++++
1 file changed, 11 insertions(+)
---
diff --git a/gcc48.patch b/gcc48.patch
index 73d1aae..a251392 100644
--- a/gcc48.patch
+++ b/gcc48.patch
@@ -9,3 +9,14 @@
-o $cc_maj -gt 4 ]; then
log_failure "gcc version $cc_ver found, expected gcc 3.x with x>1 or gcc 4.x with 0<x<8"
fail really
+--- VirtualBox-4.2.12/Config.kmk~ 2013-05-25 11:56:55.629895894 +0200
++++ VirtualBox-4.2.12/Config.kmk 2013-05-25 14:50:59.850448713 +0200
+@@ -2304,7 +2304,7 @@
+ #
+ ifdef VBOX_WITH_WARNINGS_AS_ERRORS
+ if $(VBOX_GCC_VERSION_CXX) >= 40000
+- VBOX_GCC_WERR ?= -Werror
++ VBOX_GCC_WERR ?= -Werror -Wno-error=unused-parameter
+ endif
+ VBOX_VCC_WERR ?= -WX
+ VBOX_VCC_LD_WERR ?= ## @todo later also: -WX
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/VirtualBox.git/commitdiff/19c4ffc6008e990629a9a8e557ddbedd9384c7a6
More information about the pld-cvs-commit
mailing list