VirtualBox

Ignore:
Timestamp:
Apr 19, 2020 2:12:33 PM (5 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
137359
Message:

Additions/3D: VC++ 14.1 adjustments and warnings. bugref:8489

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/3D/mesa/Makefile.kmk

    r82968 r83832  
    9393#  -wd4805: '|=' : unsafe mix of type 'GLboolean' and type 'bool' in operation
    9494#  -wd4918: 'y' : invalid character in pragma optimization list
    95 VBOX_MESA3D_VCC_DISABLED_WARNINGS           = \
     95VBOX_MESA3D_VCC_DISABLED_WARNINGS          := \
    9696        -wd4005 -wd4013 -wd4018 -wd4054 -wd4057 -wd4090 -wd4098 -wd4099 -wd4100 -wd4101 -wd4130 -wd4132 -wd4146 \
    9797        -wd4152 -wd4189 -wd4200 -wd4204 -wd4206 -wd4211 -wd4221 -wd4245 -wd4255 -wd4258 -wd4265 -wd4267 -wd4266 \
    9898        -wd4287 -wd4291 -wd4305 -wd4306 -wd4310 -wd4311 -wd4351 -wd4355 -wd4388 -wd4389 -wd4640 -wd4668 -wd4700 \
    9999        -wd4701 -wd4702 -wd4703 -wd4756 -wd4800 -wd4805 -wd4918
     100if "$(VBOX_NEWER_VCC_TOOL_STEM)" >= "VCC141"
     101# -wd4458: declaration of 'array' hides class member
     102# -wd4477: 'fprintf' : format string '%u' requires an argument of type 'unsigned int', but variadic argument 1 has type 'LONGLONG'
     103# -wd4774: 'printf' : format string expected in argument 1 is not a string literal
     104# -wd4456: declaration of 'pos_dst' hides previous local declaration
     105# -wd4777: '_snprintf' : format string '%u' requires an argument of type 'unsigned int', but variadic argument 1 has type 'const DWORD'
     106# -wd4459: declaration of 'stw_dev' hides global declaration
     107# -wd4457: declaration of 'usage' hides function parameter
     108VBOX_MESA3D_VCC_DISABLED_WARNINGS          += \
     109        -wd4458 -wd4477 -wd4774 -wd4456 -wd4777 -wd4459 -wd4457
     110endif
     111
    100112TEMPLATE_VBoxMesa3DGuestR3Lib_CFLAGS.win   += $(VBOX_MESA3D_VCC_DISABLED_WARNINGS)
    101113TEMPLATE_VBoxMesa3DGuestR3Lib_CXXFLAGS.win += $(VBOX_MESA3D_VCC_DISABLED_WARNINGS)
     
    111123        $(VBOX_MESA)/src/gallium/state_trackers/wgl \
    112124        $(TEMPLATE_VBoxMesa3DGuestR3Dll_INCS)
     125ifdef VBOX_WITH_AUTOMATIC_DEFS_QUOTING
     126TEMPLATE_VBoxMesa3DGuestR3Lib_DEFS          = \
     127        $(TEMPLATE_VBoxMesa3DGuestR3Dll_DEFS) \
     128        PACKAGE_VERSION="$(VBOX_MESA)" \
     129        PACKAGE_BUGREPORT="$(VBOX_MESA)"
     130else
    113131TEMPLATE_VBoxMesa3DGuestR3Lib_DEFS          = \
    114132        $(TEMPLATE_VBoxMesa3DGuestR3Dll_DEFS) \
    115133        PACKAGE_VERSION=\"$(VBOX_MESA)\" \
    116134        PACKAGE_BUGREPORT=\"$(VBOX_MESA)\"
     135endif
    117136# For wgl, glapi and mesa
    118137TEMPLATE_VBoxMesa3DGuestR3Lib_DEFS         += \
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