Re: MSVC 2022 LibreCAD build
Posted by
dxli on
Dec 06, 2023; 2:30am
URL: https://forum.librecad.org/MSVC-2022-LibreCAD-build-tp5723976p5723990.html
Send it a pull request to fix it instead.
Conceptually, we are indexing the control points, and there's no need for negative numbers, so using signed int is unreasonable. Size_t is used because of containers in use.
Practically, it's not a bug yet, the index is not possibly up to int_max, because we need more work to be able to handle that many points.
Rahooty wrote
I suppose I'll just turn that compiler warning off if you guys good with it, it doesn't seem to be affecting my system?