Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 920547

Summary: dev-util/cppcheck-2.12.0 bump request
Product: Gentoo Linux Reporter: Dennis Jenkins <dennis.jenkins.75>
Component: Current packagesAssignee: Matthias Maier <tamiko>
Status: RESOLVED FIXED    
Severity: normal Keywords: PullRequest
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/34448
Whiteboard:
Package list:
Runtime testing required: ---

Description Dennis Jenkins 2023-12-22 16:43:22 UTC
cppcheck has a bug fix [1] that was added to version 2.10.0 on 2023-12-01.  The bug prevents cppcheck from successfully analyzing any file with the "__has_include(<foo>)" style include directive.  Gentoo is currently shipping only version 2.9.  I humbly request that Gentoo update to 2.10 or later (latest is 2.12).

[1] https://github.com/danmar/simplecpp/issues/229
Comment 1 Larry the Git Cow gentoo-dev 2023-12-23 17:38:49 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64c1501bf9edc0a5daa4d4759275a0a9725be8bd

commit 64c1501bf9edc0a5daa4d4759275a0a9725be8bd
Author:     Alfred Wingate <parona@protonmail.com>
AuthorDate: 2023-12-22 18:56:11 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-12-23 17:38:01 +0000

    dev-util/cppcheck: add 2.13.0
    
    * Drop hppa and sparc due to dev-qt/qtcharts
    
    Bug: https://bugs.gentoo.org/826602
    Bug: https://bugs.gentoo.org/826970
    Bug: https://bugs.gentoo.org/867364
    Closes: https://bugs.gentoo.org/911256
    Closes: https://bugs.gentoo.org/920547
    Signed-off-by: Alfred Wingate <parona@protonmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/34448
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-util/cppcheck/Manifest               |   1 +
 dev-util/cppcheck/cppcheck-2.13.0.ebuild | 153 +++++++++++++++++++++++++++++++
 dev-util/cppcheck/metadata.xml           |   1 +
 3 files changed, 155 insertions(+)