From 7c17dc43debd9d169b8a42f2d719cf84282ff4ce Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Wed, 21 Jun 2023 19:14:37 +0300 Subject: Release version 0.29.0-a.4+1 Suppress -Wstrict-prototypes Clang 15 warning. --- libcmark-gfm/libcmark-gfm/buildfile | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'libcmark-gfm/libcmark-gfm/buildfile') diff --git a/libcmark-gfm/libcmark-gfm/buildfile b/libcmark-gfm/libcmark-gfm/buildfile index 5c4ec19..10d1c02 100644 --- a/libcmark-gfm/libcmark-gfm/buildfile +++ b/libcmark-gfm/libcmark-gfm/buildfile @@ -46,7 +46,12 @@ if ($c.class == 'gcc') # works across compilers/version (some -Wno-* options are only recognized in # newer versions). # + # @@ TMP: try to re-enable on next release. + # c.coptions += -Wno-extra + + if ($c.id.type == 'clang' && $c.version.major >= 15) + c.coptions += -Wno-strict-prototypes } # Export options. -- cgit v1.1