SHA256
1
0
forked from pool/cppcheck

Accepting request 935858 from home:dirkmueller:Factory

- update to 2.6.2:
  * New checks in core cppcheck:
    * missing return in function
    * writing overlapping data, detect undefined behavior
    * compared value is out of possible type range
    * Copy elision optimization can't be applied for return std::move(local)
    * file can not be opened for read and write access at the same
      time on different streams
  * Various improvements
- drop 0001-Fix-compilation-with-recent-glibc-where-SIGSTKSZ-is-.patch (upstream)

OBS-URL: https://build.opensuse.org/request/show/935858
OBS-URL: https://build.opensuse.org/package/show/devel:tools/cppcheck?expand=0&rev=83
This commit is contained in:
2021-12-11 09:15:31 +00:00
committed by Git OBS Bridge
parent 5ed5e2d8b5
commit 057e8566ee
5 changed files with 18 additions and 35 deletions

View File

@@ -17,15 +17,13 @@
Name: cppcheck
Version: 2.5
Version: 2.6.2
Release: 0
Summary: A tool for static C/C++ code analysis
License: GPL-3.0-or-later
URL: https://github.com/danmar/cppcheck
Source: https://github.com/danmar/cppcheck/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz
Patch0: fix-i586.patch
# PATCH-FIX-UPSTREAM
Patch1: 0001-Fix-compilation-with-recent-glibc-where-SIGSTKSZ-is-.patch
BuildRequires: cmake
BuildRequires: docbook-xsl-stylesheets
BuildRequires: gcc-c++