VirtualBox

Changeset 99846 in vbox for trunk/src/VBox/Frontends


Ignore:
Timestamp:
May 18, 2023 12:12:31 PM (2 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
157484
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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!
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