Oliver Stöneberg
Oliver Stöneberg
There is still an issue that a Windows binary somehow reports an absolute path where a Linux one doesn't: ``` FAILED proj2_test.py::test_gui_project_loads_absolute_vs_solution_2 - AssertionError: assert 'D:\\a\\cppcheck\\cppcheck\\test\\cli\\proj2\\a\\a.c:1:7: error: Division by zero....
> There is still an issue that a Windows binary somehow reports an absolute path where a Linux one doesn't: This appears to be caused by `Path::simplifyPath()`. `realFilename()` within simplecpp...
> There is still an issue that a Windows binary somehow reports an absolute path where a Linux one doesn't: This was an issue with relative paths and a missing...
No feedback for two weeks - merging.
``` In file included from /__w/cppcheck/cppcheck/externals/tinyxml2/tinyxml2.cpp:24: In file included from /__w/cppcheck/cppcheck/externals/tinyxml2/tinyxml2.h:38: In file included from /usr/bin/../lib/gcc/x86_64-redhat-linux/15/../../../../include/c++/15/climits:47: /usr/include/limits.h:124:16: fatal error: 'limits.h' file not found 124 | # include_next | ``` This...
After the fix there is another issue when using libc++: ``` In file included from /__w/cppcheck/cppcheck/externals/tinyxml2/tinyxml2.cpp:31: /usr/bin/../include/c++/v1/cstddef:45:5: error: tried including but didn't find libc++'s header. This usually means that your...
> After the fix there is another issue when using libc++: I disabled that step for now...
See https://github.com/danmar/cppcheck/actions/runs/15956527702/job/45003567477 for a successful build with the changes applied.
Requires #7602 to be merged first.
Requires the error ID to be added to the expected output of all unit tests to be fully effective.