Commit 95b3b370 authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

Replaced __attribute__ by C++11 attributes.

parent 5c1ebcca
Pipeline #5273 passed with stages
in 16 minutes and 28 seconds
......@@ -29,7 +29,7 @@
template <typename T>
class
#ifdef __GNUG__
__attribute__((warn_unused))
[[gnu::warn_unused]]
#endif
CheckVector
{
......
......@@ -80,7 +80,7 @@ struct CheckTimeInc
class // DateTimeList
#ifdef __GNUG__
__attribute__((warn_unused))
[[gnu::warn_unused]]
#endif
DateTimeList
{
......
......@@ -35,7 +35,7 @@ enum field_flag
class // Field
#ifdef __GNUG__
__attribute__((warn_unused))
[[gnu::warn_unused]]
#endif
Field
{
......@@ -76,7 +76,7 @@ private:
class // Field3D
#ifdef __GNUG__
__attribute__((warn_unused))
[[gnu::warn_unused]]
#endif
Field3D : public Field
{
......
......@@ -25,7 +25,7 @@ constexpr double undef_grid_value = 9.e20;
struct // GridDesciption
#ifdef __GNUG__
__attribute__((warn_unused))
[[gnu::warn_unused]]
#endif
GridDesciption
{
......
......@@ -6,7 +6,7 @@
template <class T, int R = 0, int C = 0>
class // MatrixView
#ifdef __GNUG__
__attribute__((warn_unused))
[[gnu::warn_unused]]
#endif
MatrixView
{
......
......@@ -34,7 +34,7 @@ struct Histogram
class // HistogramSet
#ifdef __GNUG__
__attribute__((warn_unused))
[[gnu::warn_unused]]
#endif
HistogramSet
{
......
......@@ -33,7 +33,7 @@ struct KeyValues
class // KVList
#ifdef __GNUG__
__attribute__((warn_unused))
[[gnu::warn_unused]]
#endif
KVList : public std::list<KeyValues>
{
......@@ -50,7 +50,7 @@ public:
class // PMList
#ifdef __GNUG__
__attribute__((warn_unused))
[[gnu::warn_unused]]
#endif
PMList : public std::list<KVList>
{
......
......@@ -66,7 +66,7 @@ struct LonLatPoint
struct // RemapGrid
#ifdef __GNUG__
__attribute__((warn_unused))
[[gnu::warn_unused]]
#endif
RemapGrid
{
......@@ -106,7 +106,7 @@ RemapGrid
struct // GridSearchBins
#ifdef __GNUG__
__attribute__((warn_unused))
[[gnu::warn_unused]]
#endif
GridSearchBins
{
......@@ -119,7 +119,7 @@ GridSearchBins
struct // RemapSearch
#ifdef __GNUG__
__attribute__((warn_unused))
[[gnu::warn_unused]]
#endif
RemapSearch
{
......@@ -135,7 +135,7 @@ RemapSearch
struct // RemapType
#ifdef __GNUG__
__attribute__((warn_unused))
[[gnu::warn_unused]]
#endif
RemapType
{
......
......@@ -27,7 +27,7 @@
class // FC_Transformation
#ifdef __GNUG__
__attribute__((warn_unused))
[[gnu::warn_unused]]
#endif
FC_Transformation
{
......@@ -80,7 +80,7 @@ public:
class // SP_Transformation
#ifdef __GNUG__
__attribute__((warn_unused))
[[gnu::warn_unused]]
#endif
SP_Transformation
{
......@@ -135,7 +135,7 @@ public:
class // DV_Transformation
#ifdef __GNUG__
__attribute__((warn_unused))
[[gnu::warn_unused]]
#endif
DV_Transformation
{
......
......@@ -25,7 +25,7 @@
class // Vector3d
#ifdef __GNUG__
__attribute__((warn_unused))
[[gnu::warn_unused]]
#endif
Vector3d
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment