VirtualBox

Changeset 49583 in vbox


Ignore:
Timestamp:
Nov 20, 2013 12:52:27 PM (11 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
90783
Message:

Config.kmk: require a -std= switch with never gcc versions to compile the traits stuff in <VBox/array.h>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Config.kmk

    r49529 r49583  
    23682368        $(QUIET)$(APPEND) '$@' ' endif'
    23692369        $(QUIET)$(APPEND) '$@' 'endif'
     2370# C++ Std settings
     2371        $(QUIET)$(APPEND) '$@' 'ifneq ($$(VBOX_GCC_VERSION_CXX),)'
     2372        $(QUIET)$(APPEND) '$@' ' ifneq ($$(int-ge $$(VBOX_GCC_VERSION_CXX),40800),)'
     2373        $(QUIET)$(APPEND) '$@' '  VBOX_GCC_std ?= -std=c++11'
     2374        $(QUIET)$(APPEND) '$@' ' else ifneq ($$(int-ge $$(VBOX_GCC_VERSION_CXX),40600),)'
     2375        $(QUIET)$(APPEND) '$@' '  VBOX_GCC_std ?= -std=c++0x'
     2376        $(QUIET)$(APPEND) '$@' ' endif'
     2377        $(QUIET)$(APPEND) '$@' 'endif'
    23702378ifeq ($(KBUILD_TARGET),solaris)
    23712379        $(QUIET)$(APPEND) '$@' 'VBOX_GCC_msave-args            ?= $(call VBOX_GCC_CHECK_CXX,-msave-args,)'
     
    42044212        $(VBOX_GCC_PEDANTIC_CXX) $(VBOX_GCC_Wno-variadic-macros) -Wno-long-long -Wno-non-virtual-dtor -Wshadow \
    42054213        -fshort-wchar -fpermissive -fexceptions -frtti $(VBOX_GCC_OPT) $(VBOX_GCC_FP) -fno-strict-aliasing \
    4206         $(VBOX_GCC_fvisibility-inlines-hidden) $(VBOX_GCC_fvisibility-hidden)
     4214        $(VBOX_GCC_fvisibility-inlines-hidden) $(VBOX_GCC_fvisibility-hidden) $(VBOX_GCC_std)
    42074215TEMPLATE_VBOXMAINEXE_CXXFLAGS.x86        = -m32
    42084216TEMPLATE_VBOXMAINEXE_CXXFLAGS.amd64      = -m64
Note: See TracChangeset for help on using the changeset viewer.

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