Task #52190 - fixed.err
back to task #52190download
Error: COMPILER_WARNING:
qqc2-desktop-style-6.12.0/plugin/itembranchindicators.cpp: scope_hint: In member function ‘void ItemBranchIndicators::updateParentChain()’
qqc2-desktop-style-6.12.0/plugin/itembranchindicators.cpp:41:17: warning[-Wc++20-extensions]: C++ designated initializers only available with ‘-std=c++20’ or ‘-std=gnu++20’
# 41 | .hasSibling = index.siblingAtRow(index.row() + 1).isValid(),
# | ^
# 39| while (index.isValid() && (!m_rootIndex.isValid() || index != m_rootIndex)) {
# 40| auto data = PaintData{
# 41|-> .hasSibling = index.siblingAtRow(index.row() + 1).isValid(),
# 42| .isItem = index == m_index,
# 43| };
Error: COMPILER_WARNING:
qqc2-desktop-style-6.12.0/plugin/itembranchindicators.cpp:42:17: warning[-Wc++20-extensions]: C++ designated initializers only available with ‘-std=c++20’ or ‘-std=gnu++20’
# 42 | .isItem = index == m_index,
# | ^
# 40| auto data = PaintData{
# 41| .hasSibling = index.siblingAtRow(index.row() + 1).isValid(),
# 42|-> .isItem = index == m_index,
# 43| };
# 44| m_parentChain.push_back(data);
Error: COMPILER_WARNING:
qqc2-desktop-style-6.12.0/redhat-linux-build/plugin/qqc2desktopstyleplugin_autogen/EWIEGA46WW/moc_itembranchindicators.cpp:9: included_from: Included from here.
qqc2-desktop-style-6.12.0/redhat-linux-build/plugin/qqc2desktopstyleplugin_autogen/mocs_compilation.cpp:2: included_from: Included from here.
qqc2-desktop-style-6.12.0/plugin/itembranchindicators.h:14:25: warning[-Wc++20-extensions]: default member initializers for bit-fields only available with ‘-std=c++20’ or ‘-std=gnu++20’
# 14 | bool hasSibling : 1 = false;
# | ^
# 12|
# 13| struct PaintData {
# 14|-> bool hasSibling : 1 = false;
# 15| bool isItem : 1 = false;
# 16| };
Error: COMPILER_WARNING:
qqc2-desktop-style-6.12.0/plugin/itembranchindicators.h:15:21: warning[-Wc++20-extensions]: default member initializers for bit-fields only available with ‘-std=c++20’ or ‘-std=gnu++20’
# 15 | bool isItem : 1 = false;
# | ^
# 13| struct PaintData {
# 14| bool hasSibling : 1 = false;
# 15|-> bool isItem : 1 = false;
# 16| };
# 17|