Mailinglist Archive: opensuse-packaging (172 mails)

< Previous Next >
Re: [opensuse-packaging] Need help with gcc45 error
  • From: Dave Plater <davejplater@xxxxxxxxx>
  • Date: Sat, 01 May 2010 15:31:54 +0200
  • Message-id: <4BDC2D4A.8090607@xxxxxxxxx>
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@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx

< Previous Next >