this fails to build with clang, its stricter checks trip the build

../AppStream-0.15.6/tools/ascli-utils.c
../AppStream-0.15.6/tools/ascli-utils.c:116:23: error: a function
declaration without a prototype is deprecated in all versions of C
[-Werror,-Wstrict-prototypes]
ascli_print_separator ()
                      ^
                       void
../AppStream-0.15.6/tools/ascli-utils.c:174:26: error: a function
declaration without a prototype is deprecated in all versions of C
[-Werror,-Wstrict-prototypes]
ascli_get_output_colored ()
                         ^
                          void
2 errors generated.

 see
https://errors.yoctoproject.org/Errors/Details/686202/

On Mon, Jan 2, 2023 at 7:29 PM wangmy <wan...@fujitsu.com> wrote:
>
> From: Wang Mingyu <wan...@fujitsu.com>
>
> Changelog:
> ==========
> Features:
>  * qt: Add API for ContentRating descriptions and ratingIds
>  * Add some coccinelle semantic patches for common style issues
>  * compose: Allow building without SVG support (for bootstrap only)
>  * validator: Check for nodes that are text nodes even though they shouldn't 
> be
>  * validator: Extend validation for custom tag
>  * validator: Improve Screenshot validation
>
> Specification:
>  * docs: Fix typos in <extends> documentation
>
> Bugfixes:
>  * validator: internat: Don't allow bandwidth_mbitps when value is 
> offline-only
>  * validator: Fix timestamp validation
>  * validator: Allow release descriptions to start with punctuation
>  * compose: Only add no-metainfo tag if component isn't already ignored
>  * compose: Show better error in AscImage if compose was build without rsvg
>  * Add a hack to clarify proper PtrArray element ownership for language 
> bindings
>  * qt: Port away from deprecated QDateTime API
>  * qt: Deprecate Component::requires
>  * qt: Fix warning
>  * qt: Fix stringListToCharArray and Pool::componentsByCategories
>  * qt: Port away from deprecated foreach
>  * as-review: Add a typedef for property enums
>  * as-review: Install properties at once rather than individually
>  * as-review: Specify G_PARAM_STATIC_STRINGS for properties
>  * as-review: Emit GObject::notify on property value changes
>  * as-review: Add missing property for as_review_{get,set}_priority()
>  * ascli: fix NULL pointer dereference
>
> Miscellaneous:
>  * docs: Split releases specification into its own section
>  * style: Make code easier to read by using helper macros in all places
>  * Make some compiler warnings fatal unconditionally
>
> Signed-off-by: Wang Mingyu <wan...@fujitsu.com>
> ---
>  .../appstream/{appstream_0.15.5.bb => appstream_0.15.6.bb}      | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>  rename meta-oe/recipes-support/appstream/{appstream_0.15.5.bb => 
> appstream_0.15.6.bb} (92%)
>
> diff --git a/meta-oe/recipes-support/appstream/appstream_0.15.5.bb 
> b/meta-oe/recipes-support/appstream/appstream_0.15.6.bb
> similarity index 92%
> rename from meta-oe/recipes-support/appstream/appstream_0.15.5.bb
> rename to meta-oe/recipes-support/appstream/appstream_0.15.6.bb
> index e8637b5ee..d91253bea 100644
> --- a/meta-oe/recipes-support/appstream/appstream_0.15.5.bb
> +++ b/meta-oe/recipes-support/appstream/appstream_0.15.6.bb
> @@ -26,7 +26,7 @@ GIR_MESON_OPTION = ""
>
>  SRC_URI = 
> "https://www.freedesktop.org/software/appstream/releases/AppStream-${PV}.tar.xz";
>  SRC_URI:append:class-target = " file://0001-fix-crosscompile.patch"
> -SRC_URI[sha256sum] = 
> "cb15ed62cc2729683879a2dbf98c0a3267ea2b4d57bba6bc55e70a25500e04c2"
> +SRC_URI[sha256sum] = 
> "23d6c940368b5a6cedf622df3707c0dd8679cf4b0739f7aba13f925c58cdf10e"
>
>  S = "${WORKDIR}/AppStream-${PV}"
>
> --
> 2.25.1
>
>
> 
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#100369): 
https://lists.openembedded.org/g/openembedded-devel/message/100369
Mute This Topic: https://lists.openembedded.org/mt/96022517/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to