Skip to content

Commit

Permalink
Ignore in clang
Browse files Browse the repository at this point in the history
  • Loading branch information
lilleyse committed Nov 26, 2024
1 parent 859e161 commit 472669a
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CesiumGltf/test/TestPropertyAttributePropertyView.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#if defined(__GNUC__) && !defined(__clang__)
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wmaybe-uninitialized"
#endif

#include "CesiumGltf/PropertyAttributePropertyView.h"

Expand Down Expand Up @@ -826,4 +828,6 @@ TEST_CASE("Check that PropertyAttributeProperty values override class property "
}
}

#if defined(__GNUC__) && !defined(__clang__)
#pragma GCC diagnostic pop
#endif
4 changes: 4 additions & 0 deletions CesiumGltf/test/TestPropertyTablePropertyView.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#if defined(__GNUC__) && !defined(__clang__)
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wmaybe-uninitialized"
#endif

#include "CesiumGltf/PropertyTablePropertyView.h"

Expand Down Expand Up @@ -3714,4 +3716,6 @@ TEST_CASE("Check variable-length boolean array PropertyTablePropertyView") {
}
}

#if defined(__GNUC__) && !defined(__clang__)
#pragma GCC diagnostic pop
#endif
4 changes: 4 additions & 0 deletions CesiumGltf/test/TestPropertyTexturePropertyView.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#if defined(__GNUC__) && !defined(__clang__)
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wmaybe-uninitialized"
#endif

#include "CesiumGltf/KhrTextureTransform.h"
#include "CesiumGltf/PropertyTexturePropertyView.h"
Expand Down Expand Up @@ -2054,4 +2056,6 @@ TEST_CASE("Test normalized PropertyTextureProperty constructs with "
}
}

#if defined(__GNUC__) && !defined(__clang__)
#pragma GCC diagnostic pop
#endif

0 comments on commit 472669a

Please sign in to comment.