Skip to content

Commit

Permalink
emsc samples: ignore new clang warnings about C99 designated init in C++
Browse files Browse the repository at this point in the history
  • Loading branch information
floooh committed Feb 28, 2020
1 parent 1c4ccf3 commit 31f09af
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions html5/imgui-emsc.cc
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@
#include "sokol_time.h"
#include "emsc.h"

/* these are fairly recent warnings in clang */
#pragma clang diagnostic ignored "-Wc99-designator"
#pragma clang diagnostic ignored "-Wreorder-init-list"

static const int MaxVertices = (1<<16);
static const int MaxIndices = MaxVertices * 3;

Expand Down

0 comments on commit 31f09af

Please sign in to comment.