Skip to content

Commit

Permalink
Suppress warning when GCC before 13.1 doesn't know about -Wdangling-p…
Browse files Browse the repository at this point in the history
…ointer.
  • Loading branch information
rptb1 committed Jul 25, 2023
1 parent af09351 commit 086545a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions code/ss.c
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ ATTRIBUTE_NOINLINE
void StackHot(void **stackOut)
{
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wunknown-warning-option"
#pragma GCC diagnostic ignored "-Wdangling-pointer"
*stackOut = &stackOut;
#pragma GCC diagnostic pop
Expand Down

0 comments on commit 086545a

Please sign in to comment.