Portál AbcLinuxu, 1. června 2025 17:36
error: extra qualification 'InterfaceSettings::' on member 'InterfaceSettings'
Odpovídající struktura je tato:
struct InterfaceSettings { InterfaceSettings::InterfaceSettings() : iconSet( 0 ), numCommands( 0 ), toolTipContent( 2 ), hideWhenNotExisting( false ), hideWhenNotAvailable( false ), customCommands( false ) {} int iconSet; int numCommands; int toolTipContent; bool hideWhenNotExisting; bool hideWhenNotAvailable; bool customCommands; QString alias; QValueVector<InterfaceCommand> commands; };Nevíte jak mám tu strukturu změnit, aby jí gcc 4.1 bralo? V programování jsem začátečník a tak se v těch změnách v gcc ještě moc nevyznám.
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.