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. --- TODO | 6 ++++++ libcmark-gfm-extensions/libcmark-gfm-extensions/buildfile | 5 +++++ libcmark-gfm-extensions/manifest | 2 +- libcmark-gfm/libcmark-gfm/buildfile | 5 +++++ libcmark-gfm/manifest | 3 +-- 5 files changed, 18 insertions(+), 3 deletions(-) diff --git a/TODO b/TODO index 964ab3c..b8af1d4 100644 --- a/TODO +++ b/TODO @@ -3,3 +3,9 @@ On the revision: On the release: Note that this requires bumping build2 version requirement to 0.15.0. + +Additional (permanent) notes: + +- Review '@@ TMP' notes. + +- Add/remove 'priority: security' manifest value, if required. diff --git a/libcmark-gfm-extensions/libcmark-gfm-extensions/buildfile b/libcmark-gfm-extensions/libcmark-gfm-extensions/buildfile index 76e0df9..464a9b7 100644 --- a/libcmark-gfm-extensions/libcmark-gfm-extensions/buildfile +++ b/libcmark-gfm-extensions/libcmark-gfm-extensions/buildfile @@ -28,7 +28,12 @@ switch $c.class # that 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 } case 'msvc' { diff --git a/libcmark-gfm-extensions/manifest b/libcmark-gfm-extensions/manifest index 7ed579f..aebdc77 100644 --- a/libcmark-gfm-extensions/manifest +++ b/libcmark-gfm-extensions/manifest @@ -3,7 +3,7 @@ name: libcmark-gfm-extensions # Note: remember to update build/bootstrap.build! # -version: 0.29.0-a.4 +version: 0.29.0-a.4+1 upstream-version: 0.29.0.gfm.3 project: cmark-gfm 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. diff --git a/libcmark-gfm/manifest b/libcmark-gfm/manifest index a096d6d..b02e8df 100644 --- a/libcmark-gfm/manifest +++ b/libcmark-gfm/manifest @@ -3,11 +3,10 @@ name: libcmark-gfm # Note: remember to update build/bootstrap.build! # -version: 0.29.0-a.4 +version: 0.29.0-a.4+1 upstream-version: 0.29.0.gfm.3 project: cmark-gfm -priority: security summary: GitHub-flavored CommonMark parsing and rendering C library license: BSD-2-Clause AND MIT ; BSD 2-Clause "Simplified" License for the most of original files. topics: C, CommonMark, Markdown, documentation generation -- cgit v1.1