cppcheck icon indicating copy to clipboard operation
cppcheck copied to clipboard

added CMake option `USE_INT128` and support built-in `__int128` / some compilation fixes

Open firewave opened this issue 3 months ago • 3 comments

firewave avatar Sep 22 '25 07:09 firewave

See also https://github.com/danmar/cppcheck/pull/7833#issuecomment-3315995504.

Using __int128 it almost fully builds except for the requirement on ValueFlow::Value::equalTo() (suggestions on how to address it in this PR are welcome). The conversion to string for actual 128-bit values does not exist yet but this already exposes overflow issues in the existing code.

firewave avatar Sep 22 '25 07:09 firewave

The conversion to string for actual 128-bit values does not exist yet but this already exposes overflow issues in the existing code.

I filed https://trac.cppcheck.net/ticket/14154 about that.

firewave avatar Sep 24 '25 08:09 firewave