cppcheck: update to 2.14.1.

This commit is contained in:
Duncaen 2024-05-29 15:09:27 +02:00
parent 3462bc55a3
commit 9b7efabf27
No known key found for this signature in database
GPG Key ID: 335C1D17EC3D6E35
2 changed files with 13 additions and 2 deletions

View File

@ -0,0 +1,11 @@
--- a/test/signal/test-signalhandler.cpp
+++ b/test/signal/test-signalhandler.cpp
@@ -46,7 +46,7 @@
/*static*/ void my_fpe()
{
-#if !defined(__APPLE__)
+#if !defined(__APPLE__) && defined(__GLIBC__)
feenableexcept(FE_ALL_EXCEPT); // TODO: check result
#endif
std::feraiseexcept(FE_UNDERFLOW | FE_DIVBYZERO); // TODO: check result

View File

@ -1,6 +1,6 @@
# Template file for 'cppcheck'
pkgname=cppcheck
version=2.13.4
version=2.14.1
revision=1
build_style=cmake
configure_args="
@ -19,7 +19,7 @@ license="GPL-3.0-or-later"
homepage="http://cppcheck.sourceforge.net"
changelog="https://sourceforge.net/p/cppcheck/news/"
distfiles="https://github.com/danmar/cppcheck/archive/${version}.tar.gz"
checksum=d6ea064ebab76c6aa000795440479767d8d814dd29405918df4c1bbfcd6cb86c
checksum=22d1403fbc3158f35b5216d7b0a50bbaf0c80bf6663933a71f65cc4fc307ff3d
export CXXFLAGS="-DNDEBUG"