]> git.pld-linux.org Git - packages/VirtualBox.git/commitdiff
- make gcc 4.8 to really not barf on unused parameters
authorJan Rękorajski <baggins@pld-linux.org>
Sat, 25 May 2013 13:36:08 +0000 (15:36 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Sat, 25 May 2013 13:36:08 +0000 (15:36 +0200)
gcc48.patch

index 73d1aaea8ad4fefc7fcc371499189b383022ad0d..a251392bebf82e524250a8d7b5ac7f6792a64a00 100644 (file)
@@ -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
This page took 0.126198 seconds and 4 git commands to generate.