[opensuse-packaging] Need help with gcc45 error
Hi, home:plater ffado doesn't build for 11.3 due to several gcc45 specific errors can somebody give me some pointers as to how to fix it? :- avc_extended_plug_info.cpp:131:1: error: 'AVC::ExtendedPlugInfoPlugNameSpecificData::ExtendedPlugInfoPlugNameSpecificData' names the constructor, not the type. I've posted avc_extended_plug_info.cpp at http://pastebin.com/KbbzhvXy and avc_extended_plug_info.h at http://pastebin.com/QfZ2p6H3 Any help will be appreciated. Dave P -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On Saturday 01 of May 2010, Dave Plater wrote:
Hi, home:plater ffado doesn't build for 11.3 due to several gcc45 specific errors can somebody give me some pointers as to how to fix it? :- avc_extended_plug_info.cpp:131:1: error: 'AVC::ExtendedPlugInfoPlugNameSpecificData::ExtendedPlugInfoPlugNameSpecifi cData' names the constructor, not the type.
Patch the package to remove the superfluous "::ExtendedPlugInfoPlugNameSpecificData". -- Lubos Lunak openSUSE Boosters team, KDE developer l.lunak@suse.cz , l.lunak@kde.org -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On 05/01/2010 01:09 PM, Lubos Lunak wrote:
On Saturday 01 of May 2010, Dave Plater wrote:
Hi, home:plater ffado doesn't build for 11.3 due to several gcc45 specific errors can somebody give me some pointers as to how to fix it? :- avc_extended_plug_info.cpp:131:1: error: 'AVC::ExtendedPlugInfoPlugNameSpecificData::ExtendedPlugInfoPlugNameSpecifi cData' names the constructor, not the type.
Patch the package to remove the superfluous "::ExtendedPlugInfoPlugNameSpecificData".
Thanks, that works, now to fix the other 6 similar errors. Dave P -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On 05/01/2010 01:09 PM, Lubos Lunak wrote:
On Saturday 01 of May 2010, Dave Plater wrote:
Hi, home:plater ffado doesn't build for 11.3 due to several gcc45 specific errors can somebody give me some pointers as to how to fix it? :- avc_extended_plug_info.cpp:131:1: error: 'AVC::ExtendedPlugInfoPlugNameSpecificData::ExtendedPlugInfoPlugNameSpecifi cData' names the constructor, not the type.
Patch the package to remove the superfluous "::ExtendedPlugInfoPlugNameSpecificData".
I've got another one that involves type casting, I think :- support/firmware/bridgeco-downloader.cpp: In function 'int main(int, char**)': support/firmware/bridgeco-downloader.cpp:182:31: error: expected type-specifier support/firmware/bridgeco-downloader.cpp:182:31: error: cannot convert 'int*' to 'BeBoB::BCD*' in initialization support/firmware/bridgeco-downloader.cpp:182:31: error: expected ',' or ';' involving the code snippet starting at line 182 :- BeBoB::BCD* bcd = new BeBoB::BCD::BCD( args->args[2] ); if ( !bcd ) { cerr << "Could no open file " << args->args[2] << endl; return -1; } if ( !bcd->parse() ) { cerr << "Could not parse file " << args->args[2] << endl; return -1; } bcd->displayInfo(); delete bcd; } else { cout << "Unknown operation" << endl; } return 0; } Any help appreciated. Dave P -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On 05/01/2010 03:25 PM, Dave Plater wrote:
On 05/01/2010 01:09 PM, Lubos Lunak wrote:
On Saturday 01 of May 2010, Dave Plater wrote:
Hi, home:plater ffado doesn't build for 11.3 due to several gcc45 specific errors can somebody give me some pointers as to how to fix it? :- avc_extended_plug_info.cpp:131:1: error: 'AVC::ExtendedPlugInfoPlugNameSpecificData::ExtendedPlugInfoPlugNameSpecifi cData' names the constructor, not the type.
Patch the package to remove the superfluous "::ExtendedPlugInfoPlugNameSpecificData".
I've got another one that involves type casting, I think :- support/firmware/bridgeco-downloader.cpp: In function 'int main(int, char**)': support/firmware/bridgeco-downloader.cpp:182:31: error: expected type-specifier support/firmware/bridgeco-downloader.cpp:182:31: error: cannot convert 'int*' to 'BeBoB::BCD*' in initialization support/firmware/bridgeco-downloader.cpp:182:31: error: expected ',' or ';'
involving the code snippet starting at line 182 :- BeBoB::BCD* bcd = new BeBoB::BCD::BCD( args->args[2] ); if ( !bcd ) { cerr << "Could no open file " << args->args[2] << endl; return -1; } if ( !bcd->parse() ) { cerr << "Could not parse file " << args->args[2] << endl; return -1; }
bcd->displayInfo(); delete bcd; } else { cout << "Unknown operation" << endl; }
return 0; } Any help appreciated. Dave P
False alarm it was as simple as removing the extra BCD in BCD::BCD Dave P -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
participants (2)
-
Dave Plater
-
Lubos Lunak