Skip to content

Commit

Permalink
gni
Browse files Browse the repository at this point in the history
  • Loading branch information
christophe-lunarg committed Jan 16, 2024
1 parent a17c93d commit 4a5a826
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions test/gtx/gtx_type_aligned.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
#include <glm/gtx/type_aligned.hpp>
#include <cstdio>

#if GLM_COMPILER & GLM_COMPILER_CLANG
# pragma clang diagnostic push
# pragma clang diagnostic ignored "-Wpadded"
#endif

static int test_decl()
{
int Error(0);
Expand Down Expand Up @@ -130,6 +135,10 @@ static int perf_mul()
return Error;
}

#if GLM_COMPILER & GLM_COMPILER_CLANG
# pragma clang diagnostic pop
#endif

int main()
{
int Error(0);
Expand Down

0 comments on commit 4a5a826

Please sign in to comment.