CONP: suppress register warnings for clang only
This commit is contained in:
parent
e13f8a38a9
commit
1b9aec2a3d
@ -58,7 +58,7 @@ Description
|
||||
#include "SLPtrList.H"
|
||||
|
||||
// Flex may use register, which is deprecated and incompatible with C++17
|
||||
#pragma GCC diagnostic ignored "-Wdeprecated-register"
|
||||
#pragma clang diagnostic ignored "-Wdeprecated-register"
|
||||
|
||||
using namespace Foam;
|
||||
|
||||
|
@ -53,7 +53,7 @@ Description
|
||||
#include "readHexLabel.H"
|
||||
|
||||
// Flex may use register, which is deprecated and incompatible with C++17
|
||||
#pragma GCC diagnostic ignored "-Wdeprecated-register"
|
||||
#pragma clang diagnostic ignored "-Wdeprecated-register"
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
|
@ -59,7 +59,7 @@ Description
|
||||
#include "repatchPolyTopoChanger.H"
|
||||
|
||||
// Flex may use register, which is deprecated and incompatible with C++17
|
||||
#pragma GCC diagnostic ignored "-Wdeprecated-register"
|
||||
#pragma clang diagnostic ignored "-Wdeprecated-register"
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
|
@ -47,7 +47,7 @@ Description
|
||||
#include <cstdio>
|
||||
|
||||
// Flex may use register, which is deprecated and incompatible with C++17
|
||||
#pragma GCC diagnostic ignored "-Wdeprecated-register"
|
||||
#pragma clang diagnostic ignored "-Wdeprecated-register"
|
||||
|
||||
using namespace Foam;
|
||||
|
||||
|
@ -37,7 +37,7 @@ License
|
||||
#include "OSspecific.H"
|
||||
|
||||
// Flex may use register, which is deprecated and incompatible with C++17
|
||||
#pragma GCC diagnostic ignored "-Wdeprecated-register"
|
||||
#pragma clang diagnostic ignored "-Wdeprecated-register"
|
||||
|
||||
using namespace Foam;
|
||||
// Dummy yyFlexLexer::yylex() to keep the linker happy. It is not called
|
||||
|
@ -35,7 +35,7 @@ License
|
||||
#include <cstdio>
|
||||
|
||||
// Flex may use register, which is deprecated and incompatible with C++17
|
||||
#pragma GCC diagnostic ignored "-Wdeprecated-register"
|
||||
#pragma clang diagnostic ignored "-Wdeprecated-register"
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
|
@ -1,7 +1,8 @@
|
||||
SUFFIXES += .C .cc .cpp .cxx
|
||||
|
||||
c++WARN = -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter \
|
||||
-Wno-invalid-offsetof -Wno-attributes
|
||||
-Wno-invalid-offsetof -Wno-attributes \
|
||||
-Wno-unknown-pragmas
|
||||
|
||||
# Suppress some warnings for flex++ and CGAL
|
||||
c++LESSWARN = -Wno-old-style-cast -Wno-unused-local-typedefs -Wno-array-bounds
|
||||
|
@ -1,7 +1,8 @@
|
||||
SUFFIXES += .C .cc .cpp .cxx
|
||||
|
||||
c++WARN = -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter \
|
||||
-Wno-invalid-offsetof -Wno-attributes
|
||||
-Wno-invalid-offsetof -Wno-attributes \
|
||||
-Wno-unknown-pragmas
|
||||
|
||||
# Suppress some warnings for flex++ and CGAL
|
||||
c++LESSWARN = -Wno-old-style-cast -Wno-unused-local-typedefs -Wno-array-bounds
|
||||
|
@ -1,7 +1,8 @@
|
||||
SUFFIXES += .C .cc .cpp .cxx
|
||||
|
||||
c++WARN = -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter \
|
||||
-Wno-invalid-offsetof -Wno-attributes
|
||||
-Wno-invalid-offsetof -Wno-attributes \
|
||||
-Wno-unknown-pragmas
|
||||
|
||||
# Suppress some warnings for flex++ and CGAL
|
||||
c++LESSWARN = -Wno-old-style-cast -Wno-unused-local-typedefs -Wno-array-bounds
|
||||
|
@ -1,7 +1,8 @@
|
||||
SUFFIXES += .C .cc .cpp .cxx
|
||||
|
||||
c++WARN = -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter \
|
||||
-Wno-invalid-offsetof -Wno-attributes
|
||||
-Wno-invalid-offsetof -Wno-attributes \
|
||||
-Wno-unknown-pragmas
|
||||
|
||||
# Suppress some warnings for flex++ and CGAL
|
||||
c++LESSWARN = -Wno-old-style-cast -Wno-unused-local-typedefs -Wno-array-bounds
|
||||
|
@ -1,7 +1,8 @@
|
||||
SUFFIXES += .C .cc .cpp .cxx
|
||||
|
||||
c++WARN = -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter \
|
||||
-Wno-invalid-offsetof -Wno-attributes
|
||||
-Wno-invalid-offsetof -Wno-attributes \
|
||||
-Wno-unknown-pragmas
|
||||
|
||||
# Suppress some warnings for flex++ and CGAL
|
||||
c++LESSWARN = -Wno-old-style-cast -Wno-unused-local-typedefs -Wno-array-bounds
|
||||
|
@ -1,7 +1,8 @@
|
||||
SUFFIXES += .C .cc .cpp .cxx
|
||||
|
||||
c++WARN = -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter \
|
||||
-Wno-invalid-offsetof -Wno-attributes
|
||||
-Wno-invalid-offsetof -Wno-attributes \
|
||||
-Wno-unknown-pragmas
|
||||
|
||||
# Suppress some warnings for flex++ and CGAL
|
||||
c++LESSWARN = -Wno-old-style-cast -Wno-unused-local-typedefs -Wno-array-bounds
|
||||
|
@ -1,7 +1,8 @@
|
||||
SUFFIXES += .C .cc .cpp .cxx
|
||||
|
||||
c++WARN = -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter \
|
||||
-Wno-invalid-offsetof -Wno-attributes
|
||||
-Wno-invalid-offsetof -Wno-attributes \
|
||||
-Wno-unknown-pragmas
|
||||
|
||||
# Suppress some warnings for flex++ and CGAL
|
||||
c++LESSWARN = -Wno-old-style-cast -Wno-unused-local-typedefs -Wno-array-bounds
|
||||
|
@ -1,7 +1,8 @@
|
||||
SUFFIXES += .C .cc .cpp .cxx
|
||||
|
||||
c++WARN = -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter \
|
||||
-Wno-invalid-offsetof -Wno-attributes
|
||||
-Wno-invalid-offsetof -Wno-attributes \
|
||||
-Wno-unknown-pragmas
|
||||
|
||||
# Suppress some warnings for flex++ and CGAL
|
||||
c++LESSWARN =
|
||||
|
@ -1,7 +1,8 @@
|
||||
SUFFIXES += .C .cc .cpp .cxx
|
||||
|
||||
c++WARN = -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter \
|
||||
-Wno-invalid-offsetof -Wno-attributes
|
||||
-Wno-invalid-offsetof -Wno-attributes \
|
||||
-Wno-unknown-pragmas
|
||||
|
||||
# Suppress some warnings for flex++ and CGAL
|
||||
c++LESSWARN =
|
||||
|
Loading…
Reference in New Issue
Block a user