Skip to content

Commit

Permalink
Fixed Clang zealous warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
ocornut committed Nov 28, 2023
1 parent c6ec69c commit c1a3c7f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions imgui.h
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ Index of this file:
#endif
#pragma clang diagnostic ignored "-Wunknown-pragmas" // warning: unknown warning group 'xxx'
#pragma clang diagnostic ignored "-Wold-style-cast"
#pragma clang diagnostic ignored "-Wfloat-equal" // warning: comparing floating point with == or != is unsafe
#pragma clang diagnostic ignored "-Wzero-as-null-pointer-constant"
#pragma clang diagnostic ignored "-Wreserved-identifier" // warning: identifier '_Xxx' is reserved because it starts with '_' followed by a capital letter
#elif defined(__GNUC__)
Expand Down

0 comments on commit c1a3c7f

Please sign in to comment.