mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
CONP: suppress register warnings for clang only
This commit is contained in:
@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user