Fix Wno-delete-non-virtual-dtor flag to be passed only for .cpp files.

This commit is contained in:
Vincent Herbet 2013-08-10 19:29:28 +02:00
parent 39fadf4302
commit 4f8b31483d
21 changed files with 21 additions and 21 deletions

View File

@ -105,7 +105,7 @@ endif
# Clang >= 3 || GCC >= 4.7
ifeq "$(shell expr $(IS_CLANG) \& $(CPP_MAJOR) \>= 3 \| $(CPP_MAJOR) \>= 4 \& $(CPP_MINOR) \>= 7)" "1"
CFLAGS += -Wno-delete-non-virtual-dtor
CPPFLAGS += -Wno-delete-non-virtual-dtor
endif
# OS is Linux and not using clang

View File

@ -74,7 +74,7 @@ endif
# Clang >= 3 || GCC >= 4.7
ifeq "$(shell expr $(IS_CLANG) \& $(CPP_MAJOR) \>= 3 \| $(CPP_MAJOR) \>= 4 \& $(CPP_MINOR) \>= 7)" "1"
CFLAGS += -Wno-delete-non-virtual-dtor
CPPFLAGS += -Wno-delete-non-virtual-dtor
endif
# OS is Linux and not using clang

View File

@ -75,7 +75,7 @@ endif
# Clang >= 3 || GCC >= 4.7
ifeq "$(shell expr $(IS_CLANG) \& $(CPP_MAJOR) \>= 3 \| $(CPP_MAJOR) \>= 4 \& $(CPP_MINOR) \>= 7)" "1"
CFLAGS += -Wno-delete-non-virtual-dtor
CPPFLAGS += -Wno-delete-non-virtual-dtor
endif
# OS is Linux and not using clang

View File

@ -85,7 +85,7 @@ endif
# Clang >= 3 || GCC >= 4.7
ifeq "$(shell expr $(IS_CLANG) \& $(CPP_MAJOR) \>= 3 \| $(CPP_MAJOR) \>= 4 \& $(CPP_MINOR) \>= 7)" "1"
CFLAGS += -Wno-delete-non-virtual-dtor
CPPFLAGS += -Wno-delete-non-virtual-dtor
endif
# OS is Linux and not using clang

View File

@ -85,7 +85,7 @@ endif
# Clang >= 3 || GCC >= 4.7
ifeq "$(shell expr $(IS_CLANG) \& $(CPP_MAJOR) \>= 3 \| $(CPP_MAJOR) \>= 4 \& $(CPP_MINOR) \>= 7)" "1"
CFLAGS += -Wno-delete-non-virtual-dtor
CPPFLAGS += -Wno-delete-non-virtual-dtor
endif
# OS is Linux and not using clang

View File

@ -85,7 +85,7 @@ endif
# Clang >= 3 || GCC >= 4.7
ifeq "$(shell expr $(IS_CLANG) \& $(CPP_MAJOR) \>= 3 \| $(CPP_MAJOR) \>= 4 \& $(CPP_MINOR) \>= 7)" "1"
CFLAGS += -Wno-delete-non-virtual-dtor
CPPFLAGS += -Wno-delete-non-virtual-dtor
endif
# OS is Linux and not using clang

View File

@ -85,7 +85,7 @@ endif
# Clang >= 3 || GCC >= 4.7
ifeq "$(shell expr $(IS_CLANG) \& $(CPP_MAJOR) \>= 3 \| $(CPP_MAJOR) \>= 4 \& $(CPP_MINOR) \>= 7)" "1"
CFLAGS += -Wno-delete-non-virtual-dtor
CPPFLAGS += -Wno-delete-non-virtual-dtor
endif
# OS is Linux and not using clang

View File

@ -86,7 +86,7 @@ endif
# Clang >= 3 || GCC >= 4.7
ifeq "$(shell expr $(IS_CLANG) \& $(CPP_MAJOR) \>= 3 \| $(CPP_MAJOR) \>= 4 \& $(CPP_MINOR) \>= 7)" "1"
CFLAGS += -Wno-delete-non-virtual-dtor
CPPFLAGS += -Wno-delete-non-virtual-dtor
endif
# OS is Linux and not using clang

View File

@ -87,7 +87,7 @@ endif
# Clang >= 3 || GCC >= 4.7
ifeq "$(shell expr $(IS_CLANG) \& $(CPP_MAJOR) \>= 3 \| $(CPP_MAJOR) \>= 4 \& $(CPP_MINOR) \>= 7)" "1"
CFLAGS += -Wno-delete-non-virtual-dtor
CPPFLAGS += -Wno-delete-non-virtual-dtor
endif
# OS is Linux and not using clang

View File

@ -85,7 +85,7 @@ endif
# Clang >= 3 || GCC >= 4.7
ifeq "$(shell expr $(IS_CLANG) \& $(CPP_MAJOR) \>= 3 \| $(CPP_MAJOR) \>= 4 \& $(CPP_MINOR) \>= 7)" "1"
CFLAGS += -Wno-delete-non-virtual-dtor
CPPFLAGS += -Wno-delete-non-virtual-dtor
endif
# OS is Linux and not using clang

View File

@ -85,7 +85,7 @@ endif
# Clang >= 3 || GCC >= 4.7
ifeq "$(shell expr $(IS_CLANG) \& $(CPP_MAJOR) \>= 3 \| $(CPP_MAJOR) \>= 4 \& $(CPP_MINOR) \>= 7)" "1"
CFLAGS += -Wno-delete-non-virtual-dtor
CPPFLAGS += -Wno-delete-non-virtual-dtor
endif
# OS is Linux and not using clang

View File

@ -86,7 +86,7 @@ endif
# Clang >= 3 || GCC >= 4.7
ifeq "$(shell expr $(IS_CLANG) \& $(CPP_MAJOR) \>= 3 \| $(CPP_MAJOR) \>= 4 \& $(CPP_MINOR) \>= 7)" "1"
CFLAGS += -Wno-delete-non-virtual-dtor
CPPFLAGS += -Wno-delete-non-virtual-dtor
endif
# OS is Linux and not using clang

View File

@ -89,7 +89,7 @@ endif
# Clang >= 3 || GCC >= 4.7
ifeq "$(shell expr $(IS_CLANG) \& $(CPP_MAJOR) \>= 3 \| $(CPP_MAJOR) \>= 4 \& $(CPP_MINOR) \>= 7)" "1"
CFLAGS += -Wno-delete-non-virtual-dtor
CPPFLAGS += -Wno-delete-non-virtual-dtor
endif
# OS is Linux and not using clang

View File

@ -88,7 +88,7 @@ endif
# Clang >= 3 || GCC >= 4.7
ifeq "$(shell expr $(IS_CLANG) \& $(CPP_MAJOR) \>= 3 \| $(CPP_MAJOR) \>= 4 \& $(CPP_MINOR) \>= 7)" "1"
CFLAGS += -Wno-delete-non-virtual-dtor
CPPFLAGS += -Wno-delete-non-virtual-dtor
endif
# OS is Linux and not using clang

View File

@ -85,7 +85,7 @@ endif
# Clang >= 3 || GCC >= 4.7
ifeq "$(shell expr $(IS_CLANG) \& $(CPP_MAJOR) \>= 3 \| $(CPP_MAJOR) \>= 4 \& $(CPP_MINOR) \>= 7)" "1"
CFLAGS += -Wno-delete-non-virtual-dtor
CPPFLAGS += -Wno-delete-non-virtual-dtor
endif
# OS is Linux and not using clang

View File

@ -85,7 +85,7 @@ endif
# Clang >= 3 || GCC >= 4.7
ifeq "$(shell expr $(IS_CLANG) \& $(CPP_MAJOR) \>= 3 \| $(CPP_MAJOR) \>= 4 \& $(CPP_MINOR) \>= 7)" "1"
CFLAGS += -Wno-delete-non-virtual-dtor
CPPFLAGS += -Wno-delete-non-virtual-dtor
endif
# OS is Linux and not using clang

View File

@ -85,7 +85,7 @@ endif
# Clang >= 3 || GCC >= 4.7
ifeq "$(shell expr $(IS_CLANG) \& $(CPP_MAJOR) \>= 3 \| $(CPP_MAJOR) \>= 4 \& $(CPP_MINOR) \>= 7)" "1"
CFLAGS += -Wno-delete-non-virtual-dtor
CPPFLAGS += -Wno-delete-non-virtual-dtor
endif
# OS is Linux and not using clang

View File

@ -98,7 +98,7 @@ endif
# Clang >= 3 || GCC >= 4.7
ifeq "$(shell expr $(IS_CLANG) \& $(CPP_MAJOR) \>= 3 \| $(CPP_MAJOR) \>= 4 \& $(CPP_MINOR) \>= 7)" "1"
CFLAGS += -Wno-delete-non-virtual-dtor
CPPFLAGS += -Wno-delete-non-virtual-dtor
endif
# OS is Linux and not using clang

View File

@ -86,7 +86,7 @@ endif
# Clang >= 3 || GCC >= 4.7
ifeq "$(shell expr $(IS_CLANG) \& $(CPP_MAJOR) \>= 3 \| $(CPP_MAJOR) \>= 4 \& $(CPP_MINOR) \>= 7)" "1"
CFLAGS += -Wno-delete-non-virtual-dtor
CPPFLAGS += -Wno-delete-non-virtual-dtor
endif
# OS is Linux and not using clang

View File

@ -85,7 +85,7 @@ endif
# Clang >= 3 || GCC >= 4.7
ifeq "$(shell expr $(IS_CLANG) \& $(CPP_MAJOR) \>= 3 \| $(CPP_MAJOR) \>= 4 \& $(CPP_MINOR) \>= 7)" "1"
CFLAGS += -Wno-delete-non-virtual-dtor
CPPFLAGS += -Wno-delete-non-virtual-dtor
endif
# OS is Linux and not using clang

View File

@ -86,7 +86,7 @@ endif
# Clang >= 3 || GCC >= 4.7
ifeq "$(shell expr $(IS_CLANG) \& $(CPP_MAJOR) \>= 3 \| $(CPP_MAJOR) \>= 4 \& $(CPP_MINOR) \>= 7)" "1"
CFLAGS += -Wno-delete-non-virtual-dtor
CPPFLAGS += -Wno-delete-non-virtual-dtor
endif
# OS is Linux and not using clang