VirtualBox

Changeset 45450 in vbox


Ignore:
Timestamp:
Apr 10, 2013 8:58:57 AM (11 years ago)
Author:
vboxsync
Message:

configure/Config: allow gcc-4.8

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Config.kmk

    r45250 r45450  
    15041504# Compiler optimization flags.
    15051505#
    1506 VBOX_GCC_WARN     ?= -Wall $(VBOX_GCC_Wextra) $(VBOX_GCC_Wno-missing-field-initializers) -Wno-unused -Wno-trigraphs $(VBOX_GCC_fdiagnostics-show-option)
     1506VBOX_GCC_WARN     ?= -Wall $(VBOX_GCC_Wextra) $(VBOX_GCC_Wno-missing-field-initializers) -Wno-unused -Wno-trigraphs $(VBOX_GCC_fdiagnostics-show-option) $(VBOX_GCC_no-unused-parameter)
    15071507VBOX_GCC_WARN_PEDANTIC = -Wshadow $(VBOX_GCC_WARN) -Wno-long-long
    15081508ifdef VBOX_WITH_MASOCHISTIC_WARNINGS
     
    22862286        $(QUIET)$(APPEND) '$@' 'endif'
    22872287endif
     2288# Prevent warnings about unused parameters as of gcc-4.8 as this warning is now very verbose
     2289        $(QUIET)$(APPEND) '$@' 'ifneq ($$(VBOX_GCC_VERSION_CXX),)'
     2290        $(QUIET)$(APPEND) '$@' ' ifneq ($$(int-ge $$(VBOX_GCC_VERSION_CXX),40800),)'
     2291        $(QUIET)$(APPEND) '$@' '  VBOX_GCC_no-unused-parameter ?= -Wno-unused-parameter'
     2292        $(QUIET)$(APPEND) '$@' ' endif'
     2293        $(QUIET)$(APPEND) '$@' 'endif'
    22882294ifeq ($(KBUILD_TARGET),solaris)
    22892295        $(QUIET)$(APPEND) '$@' 'VBOX_GCC_msave-args            ?= $(call VBOX_GCC_CHECK_CXX,-msave-args,)'
  • trunk/configure

    r45204 r45450  
    417417             -o \( $cc_maj -eq 3 -a $cc_min -lt 2 \) \
    418418             -o \( $cc_maj -eq 4 -a $cc_min -lt 1 -a "$OS" != "darwin" \) \
    419              -o \( $cc_maj -eq 4 -a $cc_min -gt 7 \) \
     419             -o \( $cc_maj -eq 4 -a $cc_min -gt 8 \) \
    420420             -o $cc_maj -gt 4 ]; then
    421421        log_failure "gcc version $cc_ver found, expected gcc 3.x with x>1 or gcc 4.x with 0<x<8"
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette