Skip to content

Commit

Permalink
fix warnings on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonliang-dev committed Nov 1, 2023
1 parent 0e5521a commit a0302b0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/spry.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,10 @@ App *g_app;

#include "main.cpp"

#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wunused-variable"
#endif

#include "deps/box2d/collision/b2_broad_phase.cpp"
#include "deps/box2d/collision/b2_chain_shape.cpp"
Expand Down Expand Up @@ -86,7 +88,9 @@ App *g_app;
#include "deps/box2d/dynamics/b2_world_callbacks.cpp"
#include "deps/box2d/rope/b2_rope.cpp"

#ifdef __clang__
#pragma clang diagnostic pop
#endif

#define CUTE_ASEPRITE_IMPLEMENTATION
#include "deps/cute_aseprite.h"
Expand Down

0 comments on commit a0302b0

Please sign in to comment.