mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
COMP: suppress warning about deprecated register keyword (Flex)
This commit is contained in:
@ -48,8 +48,6 @@ Description
|
||||
#include "scalar.H"
|
||||
#include "StringStream.H"
|
||||
|
||||
using namespace Foam;
|
||||
|
||||
#include "argList.H"
|
||||
#include "Time.H"
|
||||
#include "polyMesh.H"
|
||||
@ -59,6 +57,11 @@ using namespace Foam;
|
||||
#include "SLList.H"
|
||||
#include "SLPtrList.H"
|
||||
|
||||
// Flex may use register, which is deprecated and incompatible with C++17
|
||||
#pragma GCC diagnostic ignored "-Wdeprecated-register"
|
||||
|
||||
using namespace Foam;
|
||||
|
||||
SLList<point> slPoints;
|
||||
SLList<label> slPointMap;
|
||||
label maxNodei = 0;
|
||||
|
||||
@ -52,6 +52,9 @@ Description
|
||||
#include "IFstream.H"
|
||||
#include "readHexLabel.H"
|
||||
|
||||
// Flex may use register, which is deprecated and incompatible with C++17
|
||||
#pragma GCC diagnostic ignored "-Wdeprecated-register"
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
using namespace Foam;
|
||||
|
||||
@ -58,6 +58,8 @@ Description
|
||||
#include "cellShapeRecognition.H"
|
||||
#include "repatchPolyTopoChanger.H"
|
||||
|
||||
// Flex may use register, which is deprecated and incompatible with C++17
|
||||
#pragma GCC diagnostic ignored "-Wdeprecated-register"
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
@ -65,9 +67,6 @@ using namespace Foam;
|
||||
|
||||
const scalar convertToMeters = 1.0;
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
|
||||
label dimensionOfGrid = 0;
|
||||
|
||||
label nPoints = 0;
|
||||
|
||||
@ -46,6 +46,9 @@ Description
|
||||
// For EOF only
|
||||
#include <cstdio>
|
||||
|
||||
// Flex may use register, which is deprecated and incompatible with C++17
|
||||
#pragma GCC diagnostic ignored "-Wdeprecated-register"
|
||||
|
||||
using namespace Foam;
|
||||
|
||||
#include "argList.H"
|
||||
|
||||
Reference in New Issue
Block a user