Niels Lohmann
dbf9f45455
Update cppcheck to 1.5.2 (Cppcheck 2.20) and fix its new findings
...
Cppcheck 2.20 rejects invocations of unknown function-like macros in #if
conditions instead of evaluating them as 0. default_defines.hpp expands
the Hedley macros to the compiler's feature-test operators (__has_attribute
etc.), so define them as 0 in a generated include file.
It also reports a false bufferAccessOutOfBounds in the float overload of
float_from_bits, sizing the parameter as the double overload's; use the
size of the source instead (equal by the static_assert).
Signed-off-by: Niels Lohmann <mail@nlohmann.me >
2026-10-14 17:58:07 +02:00
Niels Lohmann
5a05627b1f
🚨 fix warning ( #5169 )
2026-05-14 15:39:18 +02:00
dependabot[bot]
3a5703931a
⬆️ Bump cppcheck from 1.4.8 to 1.5.0 in /cmake/requirements ( #4698 )
...
Bumps [cppcheck](https://github.com/msclock/cppcheck-wheel ) from 1.4.8 to 1.5.0.
- [Release notes](https://github.com/msclock/cppcheck-wheel/releases )
- [Changelog](https://github.com/msclock/cppcheck-wheel/blob/master/.releaserc.js )
- [Commits](https://github.com/msclock/cppcheck-wheel/compare/v1.4.8...v1.5.0 )
---
updated-dependencies:
- dependency-name: cppcheck
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-29 16:33:52 +01:00
dependabot[bot]
11a835df85
⬆️ Bump cppcheck from 1.4.7 to 1.4.8 in /cmake/requirements ( #4697 )
...
Bumps [cppcheck](https://github.com/msclock/cppcheck-wheel ) from 1.4.7 to 1.4.8.
- [Release notes](https://github.com/msclock/cppcheck-wheel/releases )
- [Changelog](https://github.com/msclock/cppcheck-wheel/blob/master/.releaserc.js )
- [Commits](https://github.com/msclock/cppcheck-wheel/compare/v1.4.7...v1.4.8 )
---
updated-dependencies:
- dependency-name: cppcheck
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-19 08:29:39 +01:00
dependabot[bot]
6be4e85600
Bump cppcheck from 1.4.6 to 1.4.7 in /cmake/requirements ( #4567 )
2024-12-23 19:17:06 +01:00
Niels Lohmann
30cd44df95
Clean up CI ( #4553 )
...
* 💚 overwork cppcheck
* 🔒 adjust permissions
* 💚 fixes
* 💚 fixes
2024-12-17 18:58:05 +01:00