VirtualBox

Changeset 99846 in vbox for trunk


Ignore:
Timestamp:
May 18, 2023 12:12:31 PM (20 months ago)
Author:
vboxsync
Message:

bugref:10450: Code parts which uses Qt6 on Windows require /permissive- compiler flag.

Location:
trunk/src/VBox
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Debugger/Makefile.kmk

    r99010 r99846  
    161161        VBoxDbgConsole.cpp \
    162162        VBoxDbgStatsQt.cpp
     163 ifdef VBOX_WITH_QT6
     164  VBoxDbg_CXXFLAGS.win += /permissive-
     165 endif
    163166 VBoxDbg_LDFLAGS.darwin = \
    164167        -install_name $(VBOX_DYLD_EXECUTABLE_PATH)/VBoxDbg.dylib
  • trunk/src/VBox/Frontends/VirtualBox/Makefile.kmk

    r99844 r99846  
    388388endif
    389389
     390ifdef VBOX_WITH_QT6
     391 VirtualBox_CXXFLAGS.win += /permissive-
     392endif
     393
    390394VirtualBox_CXXFLAGS.linux += $(VBOX_GCC_Wno-class-memaccess)
    391395
     
    421425ifneq ($(KBUILD_TARGET),win)
    422426 VirtualBoxVM_CXXFLAGS += -Wno-switch
     427endif
     428
     429ifdef VBOX_WITH_QT6
     430 VirtualBoxVM_CXXFLAGS.win += /permissive-
    423431endif
    424432
     
    465473UICommon_CXXFLAGS.win += -wd4868 # prevents std::stable_sort from using functor/function comparator
    466474UICommon_CXXFLAGS.win += -bigobj # COMWrappers.cpp fails with too many sections on win64-dep otherwise.
     475ifdef VBOX_WITH_QT6
     476 UICommon_CXXFLAGS.win += /permissive-
     477endif
    467478
    468479## @todo we're using a number of deprecated APIs, please fix and remove these!
  • trunk/src/VBox/Main/src-helper-apps/OpenGLTest/Makefile.kmk

    r99834 r99846  
    100100 endif
    101101
     102 ifdef VBOX_WITH_QT6
     103  VBoxTestOGL_CXXFLAGS.win += /permissive-
     104 endif
     105
    102106 # Don't let ld strip out explicitly linked libraries even when they are not needed.
    103107 # This was causing some dynamic library loading problems in case of indirect dependencies
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