Skip to content

Commit

Permalink
guard apple
Browse files Browse the repository at this point in the history
  • Loading branch information
charlesnicholson committed Oct 22, 2023
1 parent 545931a commit d7c99cd
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions nanoprintf.h
Original file line number Diff line number Diff line change
Expand Up @@ -155,11 +155,12 @@ NPF_VISIBILITY int npf_vpprintf(
#pragma GCC diagnostic ignored "-Wpadded"
#pragma GCC diagnostic ignored "-Wfloat-equal"
#if NANOPRINTF_CLANG
#pragma GCC diagnostic ignored "-Wunknown-warning-option"
#pragma GCC diagnostic ignored "-Wc++98-compat-pedantic"
#pragma GCC diagnostic ignored "-Wcovered-switch-default"
#pragma GCC diagnostic ignored "-Wdeclaration-after-statement"
#pragma GCC diagnostic ignored "-Wunsafe-buffer-usage"
#ifndef __APPLE__
#pragma GCC diagnostic ignored "-Wunsafe-buffer-usage"
#endif
#elif NANOPRINTF_GCC_PAST_4_6
#pragma GCC diagnostic ignored "-Wmaybe-uninitialized"
#endif
Expand Down

0 comments on commit d7c99cd

Please sign in to comment.