CONP: suppress register warnings for clang only

This commit is contained in:
Mark Olesen
2018-01-30 06:49:32 +01:00
parent e13f8a38a9
commit 1b9aec2a3d
15 changed files with 24 additions and 15 deletions

View File

@ -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;

View File

@ -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"
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -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"
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -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;