Skip to content

Commit

Permalink
-Wdangling-pointer warning when building ANGLE with GCC 12
Browse files Browse the repository at this point in the history
https://bugs.webkit.org/show_bug.cgi?id=239339

Patch by Michael Catanzaro <mcatanzaro@gnome.org> on 2022-05-16
Reviewed by Yusuke Suzuki and Kenneth Russell.

* Source/ThirdParty/ANGLE/CMakeLists.txt:

Canonical link: https://commits.webkit.org/250617@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@294271 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
mcatanzaro authored and webkit-commit-queue committed May 16, 2022
1 parent f93de92 commit 33377d8
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
1 change: 1 addition & 0 deletions Source/ThirdParty/ANGLE/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,7 @@ if (COMPILER_IS_GCC_OR_CLANG)
if (TARGET ${angle_target})
WEBKIT_ADD_TARGET_CXX_FLAGS(${angle_target}
-Wno-cast-align
-Wno-dangling-pointer
-Wno-extra
-Wno-suggest-attribute=format
-Wno-undef
Expand Down
13 changes: 13 additions & 0 deletions Source/ThirdParty/ANGLE/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
2022-05-09 Michael Catanzaro <mcatanzaro@redhat.com>

-Wdangling-pointer warning when building ANGLE with GCC 12
https://bugs.webkit.org/show_bug.cgi?id=239339
<rdar://problem/92959790>

Reviewed by Yusuke Suzuki and Kenneth Russell.

Add -Wdangling-pointer to the list of warnings that we suppress. This looks more likely to
be a false positive than a security issue.

* CMakeLists.txt:

2022-04-27 Kimmo Kinnunen <kkinnunen@apple.com>

Update ANGLE to 2022-04-26 (7ca11287a056d4150cba96c9c9b964153ad539cb)
Expand Down

0 comments on commit 33377d8

Please sign in to comment.