Thank you for fixing a ticket. And thank you for cppcheck. /Stefan Petersen
Hello, I downloaded 2.17.0 and tried it. I got a warning from cppcheck on some code that I then tried to minimize to the following: https://godbolt.org/z/cKeEePGz4 It might be considered strange code, but it is mostly for demonstration purpose. The length of the std::array is 6 * sizeof(uint16_t), aka 12. But cppcheck warns that the array is only 6 positions, and hence signals out-of-bounds. If I give the length of the array directly as 12, it works. Thanks, /Stefan Petersen
Hello, I downloaded 2.17.0 and tried it. I got a warning from cppcheck on some code that I then tried to minimize to the following: https://godbolt.org/z/cKeEePGz4 It might be considered strange code, but it is mostly for demonstration purpose. The length of the std::array is 6 * sizeof(uint16_t), aka 12. But cppcheck warns that the array is only 6 positions, and hence signals out-of-bounds. If I give the length of the array directly as 12, it works. After some more testing I noticed that cppcheck...
Development has restarted on GitHub
Thank you for your input. The development on this project has been a bit stale for many years, but has now (just a few months back) been restarted on GitHub. https://github.com/gerbv . Please refer to that site and they also make all the calls. (Yes, I saw your issue on gerbv and wanted to assure you that the GitHub site is now the center of development.)
Export selected layers to ZIP
A set of 21 patches from 2009 to implement zip file handling.