Skip to content

Fix -Wimplicit-function-declaration#4

Merged
sjaeckel merged 1 commit intolibtom:developfrom
thesamesam:develop
Nov 7, 2022
Merged

Fix -Wimplicit-function-declaration#4
sjaeckel merged 1 commit intolibtom:developfrom
thesamesam:develop

Conversation

@thesamesam
Copy link
Contributor

Causes build failures with Clang 16.

Bug: https://bugs.gentoo.org/875527
Signed-off-by: Sam James sam@gentoo.org

@thesamesam
Copy link
Contributor Author

@sjaeckel could you possibly take a look? thanks

Copy link
Member

@sjaeckel sjaeckel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, I completely missed this PR!

PR looks fine besides this one remark.

Clang 16 will make -Wimplicit-function-declaration error by default.

For more information, see LWN.net [0] or LLVM's Discourse [1], gentoo-dev@ [2],
or the (new) c-std-porting mailing list [3].

[0] https://lwn.net/Articles/913505/
[1] https://discourse.llvm.org/t/configure-script-breakage-with-the-new-werror-implicit-function-declaration/65213
[2] https://archives.gentoo.org/gentoo-dev/message/dd9f2d3082b8b6f8dfbccb0639e6e240
[3] hosted at lists.linux.dev.

Bug: https://bugs.gentoo.org/875527
Signed-off-by: Sam James <sam@gentoo.org>
@thesamesam thesamesam requested a review from sjaeckel November 6, 2022 06:23
@sjaeckel sjaeckel merged commit a026b0f into libtom:develop Nov 7, 2022
@thesamesam
Copy link
Contributor Author

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants