CopperSpice Overview
Compiler Warnings

CopperSpice is built with various compiler flags to reduce and remove warnings. As new compiler versions become available the source code is improved in our libraries. Some of the third party libraries are not practical to modify and only critical changes will be made.

Building CopperSpice with GCC 10

Building with GCC 10 or MinGW 10 causes the following warning in the CsGui library. Research was done and it was determined this issue is not a problem in our code. This is a known issue with GCC and should be ignored.

cs/src/gui/text/qfontdatabase.cpp:369:8: struct QtFontFamily
warning: writing 16 bytes into a region of size 0 [-Wstringop-overflow=]
cs/src/gui/text/qfontdatabase.cpp:385:9: bool m_populated;
note: at offset 0 to object 'QtFontFamily::m_populated' with size 1 declared here
Note
This is a false positive warning which was introduced in GCC 10 and resolved in GCC 11.