VirtualBox

Changeset 93297 in vbox


Ignore:
Timestamp:
Jan 18, 2022 11:22:34 AM (3 years ago)
Author:
vboxsync
Message:

/Config.kmk: Shut up a few warnings for Visual C++ 2019 update 11. bugref:8489

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Config.kmk

    r93289 r93297  
    34633463 VBOX_VCC_WARN_ALL += -wd5045 -wd4464 -wd4623 -wd4625 -wd4626 -wd5026 -wd5027 -wd4435
    34643464endif
    3465 VBOX_VCC_WARN_ALL += -wd4242 -wd4244
     3465if "$(VBOX_VCC_TOOL_STEM)" >= "VCC142"  # With v16.11.9, not with v16.6.0 4242
     3466 #    -wd5220: 'RTDBGMODINT::cRefs': a non-static data member with a volatile qualified type no longer implies that compiler generated copy/move constructors and copy/move assignment operators are not trivial
     3467 VBOX_VCC_WARN_ALL += -wd5220
     3468 # Temporarily:
     3469 #    -wd4242: asn1-ut-string.cpp(729): warning C4242: 'argument': conversion from 'uint32_t' to 'uint16_t', possibl loss of data
     3470 #    -wd4244: asn1-ut-objid.cpp(124): warning C4244: '=': conversion from 'uint32_t' to 'uint8_t', possible loss of data
     3471 VBOX_VCC_WARN_ALL += -wd4242 -wd4244
     3472endif
    34663473#    -wd4548: socket.cpp(1931): warning C4548: expression before comma has no effect; expected expression with side-effect
    34673474VBOX_VCC_WARN_ALL += -wd4548
     
    74957502   TEMPLATE_VBOXQTGUIEXE_CXXFLAGS += -wd4774 -wd4456 -wd4458 -wd4946
    74967503  endif
     7504  if "$(VBOX_VCC_TOOL_STEM)" >= "VCC142" # With v16.11.9, not with v16.6.0 4242
     7505   #   -wd5219: qpoint.h(187): warning C5219: implicit conversion from 'const int' to 'float', possible loss of data
     7506   #   -wd5240: qcolor.h(235): warning C5240: 'nodiscard': attribute is ignored in this syntactic position
     7507   TEMPLATE_VBOXQTGUIEXE_CXXFLAGS += -wd5219 -wd5240
     7508  endif
    74977509  TEMPLATE_VBOXQTGUIEXE_CXXFLAGS += -Gy
    74987510  if "$(VBOX_VCC_TOOL_STEM)" >= "VCC120"
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