Changeset 63110 in vbox
- Timestamp:
- Aug 6, 2016 8:29:59 PM (8 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Config.kmk
r63109 r63110 1588 1588 VBOX_GCC_PEDANTIC_CXX ?= -pedantic $(VBOX_GCC_WARN_PEDANTIC) $(VBOX_GCC_Wno-return-type-c-linkage) 1589 1589 VBOX_GCC_PEDANTIC_C ?= -pedantic $(VBOX_GCC_WARN_PEDANTIC) -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations -Werror-implicit-function-declaration 1590 1591 VBOX_GCC_NON_PEDANTIC_CXX ?= -Wno-sign-compare 1592 VBOX_GCC_NON_PEDANTIC_C ?= -Wno-sign-compare -Werror-implicit-function-declaration 1593 1590 1594 1591 1595 # Disabled Visual C++ warnings, W4: … … 1634 1638 endif 1635 1639 VBOX_VCC_WARN_ALL += -wd4242 -wd4244 1640 1641 # Disable pedantic warnings for NP/NonPedantic templates. 1642 # -wd4131: 'bi_flush' : uses old-style declarator 1643 # -wd4255: 'tr_static_init' : no function prototype given: converting '()' to '(void)' 1644 VBOX_VCC_NON_PEDANTIC = -wd4131 -wd4255 1636 1645 1637 1646 ifeq ($(KBUILD_TARGET),win) … … 4655 4664 endif 4656 4665 4666 # 4667 # Non-pedantic variation of VBoxR3Static 4668 # 4669 TEMPLATE_VBoxR3StaticNonPedantic = VBox Static Ring-3 EXE, non-pedantic. 4670 TEMPLATE_VBoxR3StaticNonPedantic_EXTENDS = VBoxR3Static 4671 ifeq ($(KBUILD_TARGET),win) 4672 TEMPLATE_VBoxR3StaticNonPedantic_CXXFLAGS = $(filter-out $(VBOX_VCC_WERR), $(TEMPLATE_VBOXR3_CXXFLAGS)) $(VBOX_VCC_NON_PEDANTIC) 4673 TEMPLATE_VBoxR3StaticNonPedantic_CFLAGS = $(filter-out $(VBOX_VCC_WERR), $(TEMPLATE_VBOXR3_CFLAGS)) $(VBOX_VCC_NON_PEDANTIC) 4674 else # gcc: 4675 TEMPLATE_VBoxR3StaticNonPedantic_TOOL = $(VBOX_GCC_TOOL) 4676 TEMPLATE_VBoxR3StaticNonPedantic_CXXFLAGS = $(filter-out $(VBOX_GCC_WERR) $(VBOX_GCC_WARN_MASOCHISTIC) $(VBOX_GCC_PEDANTIC_CXX),$(TEMPLATE_VBOXR3_CXXFLAGS)) \ 4677 $(VBOX_GCC_NON_PEDANTIC_CXX) 4678 TEMPLATE_VBoxR3StaticNonPedantic_CFLAGS = $(filter-out $(VBOX_GCC_WERR) $(VBOX_GCC_WARN_MASOCHISTIC) $(VBOX_GCC_PEDANTIC_C) ,$(TEMPLATE_VBOXR3_CFLAGS)) \ 4679 $(VBOX_GCC_NON_PEDANTIC_CXX) 4680 endif 4681 4657 4682 4658 4683 # … … 4919 4944 TEMPLATE_VBOXR3NPEXE_TOOL = $(VBOX_GCC_TOOL) 4920 4945 TEMPLATE_VBOXR3NPEXE_CXXFLAGS = $(filter-out $(VBOX_GCC_WERR) $(VBOX_GCC_WARN_MASOCHISTIC) $(VBOX_GCC_PEDANTIC_CXX),$(TEMPLATE_VBOXR3EXE_CXXFLAGS)) \ 4921 -Wno-sign-compare4946 $(VBOX_GCC_NON_PEDANTIC_CXX) 4922 4947 TEMPLATE_VBOXR3NPEXE_CFLAGS = $(filter-out $(VBOX_GCC_WERR) $(VBOX_GCC_WARN_MASOCHISTIC) $(VBOX_GCC_PEDANTIC_C) ,$(TEMPLATE_VBOXR3EXE_CFLAGS)) \ 4923 -Wno-sign-compare -Werror-implicit-function-declaration4948 $(VBOX_GCC_NON_PEDANTIC_C) 4924 4949 endif 4925 4950 … … 4936 4961 TEMPLATE_VBOXR3NP_TOOL = $(VBOX_GCC_TOOL) 4937 4962 TEMPLATE_VBOXR3NP_CXXFLAGS = $(filter-out $(VBOX_GCC_WERR) $(VBOX_GCC_WARN_MASOCHISTIC) $(VBOX_GCC_PEDANTIC_CXX),$(TEMPLATE_VBOXR3_CXXFLAGS)) \ 4938 -Wno-sign-compare4963 $(VBOX_GCC_NON_PEDANTIC_CXX) 4939 4964 TEMPLATE_VBOXR3NP_CFLAGS = $(filter-out $(VBOX_GCC_WERR) $(VBOX_GCC_WARN_MASOCHISTIC) $(VBOX_GCC_PEDANTIC_C) ,$(TEMPLATE_VBOXR3_CFLAGS)) \ 4940 -Wno-sign-compare -Werror-implicit-function-declaration4965 $(VBOX_GCC_NON_PEDANTIC_C) 4941 4966 TEMPLATE_VBOXR3NP_OBJCFLAGS = $(filter-out $(VBOX_GCC_WERR) $(VBOX_GCC_WARN_MASOCHISTIC) -pedantic -Wstrict-prototypes,$(TEMPLATE_VBOXR3_OBJCFLAGS)) 4942 4967 TEMPLATE_VBOXR3NP_OBJCXXFLAGS = $(filter-out $(VBOX_GCC_WERR) $(VBOX_GCC_WARN_MASOCHISTIC) -pedantic,$(TEMPLATE_VBOXR3_OBJCXXFLAGS)) … … 4950 4975 TEMPLATE_VBoxR3DllNonPedantic = VBox ring-3 Non-pedantic, with warnings. 4951 4976 TEMPLATE_VBoxR3DllNonPedantic_EXTENDS = VBOXR3 4952 ifneq ($(KBUILD_TARGET),win) # (only gcc) 4977 ifeq ($(KBUILD_TARGET),win) 4978 TEMPLATE_VBoxR3DllNonPedantic_CXXFLAGS = $(filter-out $(VBOX_VCC_WERR), $(TEMPLATE_VBOXR3_CXXFLAGS)) $(VBOX_VCC_NON_PEDANTIC) 4979 TEMPLATE_VBoxR3DllNonPedantic_CFLAGS = $(filter-out $(VBOX_VCC_WERR), $(TEMPLATE_VBOXR3_CFLAGS)) $(VBOX_VCC_NON_PEDANTIC) 4980 else # gcc: 4953 4981 TEMPLATE_VBoxR3DllNonPedantic_TOOL = $(VBOX_GCC_TOOL) 4954 4982 TEMPLATE_VBoxR3DllNonPedantic_CXXFLAGS = $(filter-out $(VBOX_GCC_WERR) $(VBOX_GCC_WARN_MASOCHISTIC) $(VBOX_GCC_PEDANTIC_CXX),$(TEMPLATE_VBOXR3_CXXFLAGS)) \ 4955 -Wno-sign-compare4983 $(VBOX_GCC_NON_PEDANTIC_CXX) 4956 4984 TEMPLATE_VBoxR3DllNonPedantic_CFLAGS = $(filter-out $(VBOX_GCC_WERR) $(VBOX_GCC_WARN_MASOCHISTIC) $(VBOX_GCC_PEDANTIC_C) ,$(TEMPLATE_VBOXR3_CFLAGS)) \ 4957 -Wno-sign-compare -Werror-implicit-function-declaration4985 $(VBOX_GCC_NON_PEDANTIC_C) 4958 4986 endif 4959 4987 -
trunk/src/libs/zlib-1.2.8/Makefile.kmk
r62534 r63110 24 24 LIBRARIES += VBox-zlib-static 25 25 endif 26 VBox-zlib_TEMPLATE = VBoxR3RuntimeDll 26 VBox-zlib_TEMPLATE = VBoxR3RuntimeDllNonPedantic 27 27 VBox-zlib_DEFS = verbose=-1 NO_VIZ=1 28 28 VBox-zlib_SOURCES = \ … … 43 43 inffast.c 44 44 45 VBox-zlib-static_TEMPLATE = VB OXR3STATIC45 VBox-zlib-static_TEMPLATE = VBoxR3StaticNonPedantic 46 46 VBox-zlib-static_DEFS = $(VBox-zlib_DEFS) 47 47 VBox-zlib-static_SOURCES = $(VBox-zlib_SOURCES) … … 49 49 ifdef VBOX_WITH_32_ON_64_MAIN_API # 32-bit edition. 50 50 LIBRARIES += VBox-zlib-x86 51 VBox-zlib-x86_TEMPLATE = VBoxR3Dll -x8651 VBox-zlib-x86_TEMPLATE = VBoxR3DllNonPedantic-x86 52 52 VBox-zlib-x86_EXTENDS = VBox-zlib 53 53 endif
Note:
See TracChangeset
for help on using the changeset viewer.