Closed NSP-0123456 closed 5 months ago
I've switched to new gcc and get compilation issue on file "AutoBuilder\unibase.cpp" due to a constinit with uninitialized structure.
constinit ucd::Numeric NO_NUMERIC { | ^~~~~~~~~~ ../AutoBuilder/unibase.cpp:35:5: error: temporary of non-literal type 'std::string' {aka 'std::__cxx11::basic_string<char>'} in a constant expression 35 | };
The simpliest way to compile was to change to const ucd::Numeric NO_NUMERIC = { 'Probably not the best but compile even with newest QT 6.7
const ucd::Numeric NO_NUMERIC = {
Done, someday I used string_view, but switched to string.
I've switched to new gcc and get compilation issue on file "AutoBuilder\unibase.cpp" due to a constinit with uninitialized structure.
The simpliest way to compile was to change to
const ucd::Numeric NO_NUMERIC = {
'Probably not the best but compile even with newest QT 6.7