SHA256
1
0
forked from pool/cppcheck

Accepting request 331102 from devel:tools

1

OBS-URL: https://build.opensuse.org/request/show/331102
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cppcheck?expand=0&rev=2
This commit is contained in:
Dominique Leuenberger 2015-09-17 07:21:34 +00:00 committed by Git OBS Bridge
commit cb0a7827ce
4 changed files with 59 additions and 7 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4bd5c8031258ef29764a4c92666384238a625beecbb2aceeb7065ec388c7532e
size 1052984

3
cppcheck-1.70.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c6aaafd41b4c2050f3fb96a4aa159507007403a163d05361bd9544e5baf18f39
size 1111291

View File

@ -1,3 +1,54 @@
-------------------------------------------------------------------
Tue Sep 15 13:00:50 UTC 2015 - Adam Mizerski <adam@mizerski.pl>
- update to 1.70
* General changes:
- New version of .cfg file format, adding support for
namespaces and declaring several functions at once
- Support building x64 installer for Windows; Both x64 and x86
builds are now provided
- Warn about deprecated options --suppressions and
--exitcode-suppressions. They will be removed in future
- Added debugging option --debug-normal, which prints out debug
output before second stage simplification
* New checks:
- Warn about modifying string literals
- Detect declaration of variable length arrays with negative
size
- Warn about implicit type conversion from int to long
- Warn about redundant code in conditions like (y || (!y && z))
- Detect conditions with known result
- Race condition: non-interlocked access after
InterlockedDecrement()
- Detect unused 'goto' labels
* Removed checks:
- Do no longer warn about a bug in scanf implementation of
ancient glibc versions
- Multifile analysis (added in 1.69) has been removed because
it did not work
- Removed ExecutionPath checker, which has been superseeded by
ValueFlow analysis
* Improvements:
- Support hexadecimal floating point numbers (C99)
- Support [[deprecated]] (C++14)
- Improved handling of sizeof()
- Improved handling of reserved keywords
- Better handling of C declaration specifiers; support
complex/_Complex (C99)
- Better handling of ternary operator in ValueFlow analysis
- Lots of improvements to .cfg files, especially std.cfg, which
now supports namespace std
- Improved performance and memory usage of Preprocessor
- Improved performance of matchcompiler
- Reduced Disk IO when ignoring paths
- Removed several obsolete simplifications
- Added python addons: naming.py, threadsafety.py and cert.py
* GUI:
- Support printing
- Added item "Open containing folder" to context menu
* Additionally, lots of false positives and bugs have been fixed
and several existing checks have been improved.
------------------------------------------------------------------- -------------------------------------------------------------------
Fri May 15 13:48:34 UTC 2015 - Adam Mizerski <adam@mizerski.pl> Fri May 15 13:48:34 UTC 2015 - Adam Mizerski <adam@mizerski.pl>

View File

@ -1,7 +1,7 @@
# #
# spec file for package cppcheck # spec file for package cppcheck
# #
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -15,13 +15,14 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
Name: cppcheck Name: cppcheck
Version: 1.69 Version: 1.70
Release: 0 Release: 0
License: GPL-3.0+
Summary: A tool for static C/C++ code analysis Summary: A tool for static C/C++ code analysis
Url: http://cppcheck.sourceforge.net/ License: GPL-3.0+
Group: Development/Languages/C and C++ Group: Development/Languages/C and C++
Url: http://cppcheck.sourceforge.net/
Source: http://downloads.sourceforge.net/cppcheck/cppcheck-%{version}.tar.bz2 Source: http://downloads.sourceforge.net/cppcheck/cppcheck-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: docbook-xsl-stylesheets BuildRequires: docbook-xsl-stylesheets