c72578/cppcheck

Project ID: 26110

Description

Cppcheck builds

2023-09-23, Build packages of cppcheck 2.12.1-1 for F37, F38, F39 and rawhide
2022-08-28, Build packages of cppcheck 2.9-1 for F35, F36, F37 and rawhide
2022-06-01, Build packages of cppcheck 2.8-1 for F34, F35, F36 and rawhide
2022-03-19, Build packages of cppcheck 2.7.3-1 for F34, F35, F36 and rawhide
2022-02-09, Build packages of cppcheck 2.7-1 for F34, F35, F36 and rawhide
2021-10-02, Build packages of cppcheck 2.6-1 for F33, F34, F35 and rawhide
2021-07-22, Test builds of cppcheck 2.5 with a patch to fix "Failed to load translation for English" (#1983599)
2021-07-04, Build packages of cppcheck 2.5-1 for F33, F34 and rawhide
2020-12-08, Build packages of cppcheck 2.3 for EPEL 7 and EPEL 8
2020-12-05, Build packages of cppcheck 2.3-1 for F32, F33 and rawhide
2020-11-08, Build packages of cppcheck 2.2 for F32, F33 and rawhide using patch from PR2890
2020-10-06, Build packages of cppcheck 2.2-1 for F33 and rawhide
2020-06-16, Build packages of cppcheck 2.1-2 for F31, F32, rawhide, epel7 and epel8
Enable Z3 on Fedora builds
2020-05-10, Build packages of cppcheck 2.0-1 for F30, F31, F32, rawhide, epel7 and epel8
2020-01-06, Build packages of cppcheck 1.90-4 for F29, F30, F31, rawhide, epel7 and epel8
Built from https://src.fedoraproject.org/rpms/cppcheck.git

Nightly builds of Cppcheck master (until 2020-01-05)

2019-10-06: Issue has been fixed upstream

The issue concerning failing builds on armv7hl, aarch64, ppc64le and s390x has been fixed upstream.
Details: https://github.com/danmar/cppcheck/commit/3c085fd

2019-10-04: 1.89.99-0.4

Remove "-fsigned-char" again from CXXFLAGS, to see if/when the cause of the issue has been fixed upstream

2019-09-28: All tests pass now on all architectures.

In the meantime I did some debugging on a ppc64le system.
The following warning (separate issue), which appeared in the ppc64le build log but not in x86_64, gave an indication, where the problem was coming from:
lib/suppressions.cpp:172:42: warning: comparison is always false due to limited range of data type [-Wtype-limits]

Whereas errorId is of type std::string, which is defined as std::basic_string<char>.
The type char is signed on i686 and x86_64, but unsigned on armv7hl aarch64 ppc64le s390x.

Using CXXFLAGS="-fsigned-char" for now, to make all tests pass also on armv7hl aarch64 ppc64le s390x.

2019-09-06: Run nightly builds of current git master.

The goal is to investigate failing tests under the following architectures: armv7hl aarch64 ppc64le s390x
As a representative of the affected architectures, ppc64le is run here at copr.
Remark: Under i386/i686 and x86_64 all tests pass.
For further details see: https://src.fedoraproject.org/rpms/cppcheck/pull-request/1

Installation Instructions

Instructions not filled in by author. Author knows what to do. Everybody else should avoid this repo.

Active Releases

The following unofficial repositories are provided as-is by owner of this project. Contact the owner directly for bugs or issues (IE: not bugzilla).

Release Architectures Repo Download
Fedora 39 aarch64 (4)*, ppc64le (5)*, x86_64 (5)* Fedora 39 (0 downloads)
Fedora 40 aarch64 (6)*, ppc64le (7)*, x86_64 (0)* Fedora 40 (22 downloads)
Fedora 41 aarch64 (3)*, ppc64le (0)*, x86_64 (0)* Fedora 41 (10 downloads)
Fedora rawhide aarch64 (4)*, ppc64le (4)*, x86_64 (26)* Fedora rawhide (137 downloads)

* Total number of downloaded packages.