Login  Register

Re: LibreCAD on FreeBSD

Posted by dxli on May 17, 2023; 10:49am
URL: https://forum.librecad.org/LibreCAD-on-FreeBSD-tp5722126p5722811.html

I think this issue is now fixed in the master branch by one of my recent coding style review fixes.

The root cause was due to wrong usage of initializer lists: copying an initializer list may cause undefined behaviors, because the list range is copied without a copy of the list data. This is not due to a defect of compilers.