- Timestamp:
- Sep 7, 2020 11:12:00 AM (5 years ago)
- svn:sync-xref-src-repo-rev:
- 140247
- Location:
- trunk/src/VBox/Devices
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Makefile.kmk
r86032 r86037 290 290 VBoxDD_INCS += $(VBOX_PATH_VMSVGA_INC) 291 291 VBoxDD_SOURCES += Graphics/DevVGA-SVGA.cpp 292 ifneq ($(KBUILD_TARGET),win) 293 if $(VBOX_GCC_VERSION_CXX) < 40600 294 # Disable "ISO C++ prohibits anonymous structs [-Werror=pedantic]" caused by Mesa VMSVGA driver headers 295 # For GCC >= 4.6.0 the warning is disabled in DevVGA_SVGA.h 296 Graphics/DevVGA.cpp_CXXFLAGS = -Wno-pedantic 297 Graphics/DevVGA-SVGA.cpp_CXXFLAGS = -Wno-pedantic 298 Graphics/DevVGA_VBVA.cpp_CXXFLAGS = -Wno-pedantic 299 Graphics/DevVGA_VDMA.cpp_CXXFLAGS = -Wno-pedantic 300 endif 301 endif 292 302 endif 293 303 ifdef VBOX_WITH_VMSVGA3D … … 353 363 else if1of ($(VBOX_DEF_MACOSX_VERSION_MIN), 10.14 10.15 10.16 11.0) 354 364 Graphics/DevVGA-SVGA3d-ogl.cpp_CXXFLAGS.darwin = $(VBOX_GCC_Wno-deprecated-declarations) 365 endif 366 ifneq ($(KBUILD_TARGET),win) 367 if $(VBOX_GCC_VERSION_CXX) < 40600 368 # Disable "ISO C++ prohibits anonymous structs [-Werror=pedantic]" caused by Mesa VMSVGA driver headers 369 # For GCC >= 4.6.0 the warning is disabled in DevVGA_SVGA.h 370 Graphics/DevVGA-SVGA3d.cpp_CXXFLAGS = -Wno-pedantic 371 Graphics/DevVGA-SVGA3d-glHlp.cpp_CXXFLAGS = -Wno-pedantic 372 Graphics/DevVGA-SVGA3d-hlp.cpp_CXXFLAGS = -Wno-pedantic 373 Graphics/DevVGA-SVGA3d-info.cpp_CXXFLAGS = -Wno-pedantic 374 Graphics/DevVGA-SVGA3d-ogl.cpp_CXXFLAGS = -Wno-pedantic 375 Graphics/DevVGA-SVGA3d-savedstate.cpp_CXXFLAGS = -Wno-pedantic 376 Graphics/DevVGA-SVGA3d-shared.cpp_CXXFLAGS = -Wno-pedantic 377 endif 355 378 endif 356 379 endif -
trunk/src/VBox/Devices/testcase/Makefile.kmk
r86024 r86037 95 95 $(VBOX_PATH_VMSVGA_INC) 96 96 tstDeviceStructSize_SOURCES = tstDeviceStructSize.cpp 97 ifneq ($(KBUILD_TARGET),win) 98 if $(VBOX_GCC_VERSION_CXX) < 40600 99 # Disable "ISO C++ prohibits anonymous structs [-Werror=pedantic]" caused by Mesa VMSVGA driver headers 100 # For GCC >= 4.6.0 the warning is disabled in DevVGA_SVGA.h 101 tstDeviceStructSize.cpp_CXXFLAGS = -Wno-pedantic 102 endif 103 endif 97 104 tstDeviceStructSize_CLEAN = \ 98 105 $(VBOX_DEVICES_TEST_OUT_DIR)/tstDeviceStructSizeRC.h \
Note:
See TracChangeset
for help on using the changeset viewer.