Skip to content

Commit

Permalink
add fixme note for suppressed warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
rzblue committed Aug 30, 2024
1 parent ddeada6 commit 77c7751
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions hal/src/main/native/include/hal/Types.h
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,11 @@ class Handle {
}

~Handle() {
// FIXME: GCC gives the false positive "the address of <GetDefault> will never
// be NULL" because it doesn't realize the default template parameter can make
// GetDefault nullptr. Fixed in GCC 13.
// https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94554
// https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105885
#if __GNUC__
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Waddress"
Expand Down

0 comments on commit 77c7751

Please sign in to comment.