diff --git a/src/Magnum/MeshTools/Test/FilterAttributesTest.cpp b/src/Magnum/MeshTools/Test/FilterAttributesTest.cpp index 2a41a1923..0e25a9e85 100644 --- a/src/Magnum/MeshTools/Test/FilterAttributesTest.cpp +++ b/src/Magnum/MeshTools/Test/FilterAttributesTest.cpp @@ -260,7 +260,8 @@ void FilterAttributesTest::filterOnlyAttributeIdsOutOfBounds() { CORRADE_SKIP("CORRADE_NO_ASSERT defined, can't test assertions"); #endif - Vertex vertices[3]{}; + /* GCC 4.8 dies if I try to initialize this with a {}. I won't, then. */ + Vertex vertices[3]; Trade::MeshData mesh{MeshPrimitive::TriangleFan, {}, vertices, { @@ -494,7 +495,8 @@ void FilterAttributesTest::filterExceptAttributeIdsOutOfBounds() { CORRADE_SKIP("CORRADE_NO_ASSERT defined, can't test assertions"); #endif - Vertex vertices[3]{}; + /* GCC 4.8 dies if I try to initialize this with a {}. I won't, then. */ + Vertex vertices[3]; Trade::MeshData mesh{MeshPrimitive::TriangleFan, {}, vertices, {