Changeset 94766 in vbox
- Timestamp:
- May 1, 2022 5:44:44 PM (3 years ago)
- svn:sync-xref-src-repo-rev:
- 151152
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Config.kmk
r94664 r94766 3412 3412 3413 3413 # 3414 # C++ language level. 3415 ## @todo consider maxing this. 3416 # 3414 # C++ language level 3415 # See https://en.cppreference.com/w/cpp/compiler_support and compiler docs. 3416 # 3417 ## @todo consider maxing this out. 3417 3418 ifndef VBOX_GCC_std 3418 ## @todo rewrite using "$(VBOX_CLANG_VERSION_CXX)" vge 50000 so we can skip the ifneq stuff here. 3419 ifneq ($(VBOX_CLANG_VERSION_CXX),) 3420 if $(VBOX_CLANG_VERSION_CXX) >= 50000 # darwin Xcode 5 allegedly knows what C++11 is 3419 if 0 3420 # else if "$(VBOX_CLANG_VERSION_CXX)" vge 60000 # Most language features complete by v6. Lib stuff was less complete in v6, but hopefully acceptable for out purposes. 3421 #VBOX_GCC_std := -std=c++17 3422 else if "$(VBOX_CLANG_VERSION_CXX)" vge 50000 # darwin Xcode 5 allegedly knows what C++11 is 3421 3423 VBOX_GCC_std := -std=c++11 3422 endif 3423 endif 3424 if "$(VBOX_GCC_VERSION_CXX)" != "" && !defined(VBOX_GCC_std) 3425 if $(VBOX_GCC_VERSION_CXX) >= 40800 3424 # else if "$(VBOX_GCC_VERSION_CXX)" vge 70000 # Language feature P0512R0 was v8, rest v7 or earlier. Most lib stuff present in 7, complete in v12. 3425 #VBOX_GCC_std := -std=gnu++17 3426 else if "$(VBOX_GCC_VERSION_CXX)" vge 40800 3426 3427 VBOX_GCC_std := -std=c++11 3427 else if $(VBOX_GCC_VERSION_CXX) >=406003428 else if "$(VBOX_GCC_VERSION_CXX)" vge 40600 3428 3429 VBOX_GCC_std := -std=c++0x 3429 endif3430 3430 endif 3431 3431 endif
Note:
See TracChangeset
for help on using the changeset viewer.