[PD] [mp3amp~] didn't compile
Roman Haefeli
reduzierer at yahoo.de
Tue May 16 00:06:31 CEST 2006
hi yves,
"Yves Degoyon" <ydegoyon at free.fr> wrote:
>
> yo,
>
> ok, you must be right,
> well, you can commit the changes..
it feels a bit weird to commit something without having a clue about
programming in c :-)
> but, i don't think a warning should make compiling to fail,
> or is -Werror on?
>
ah, yes, it was on. i'm really not too much into compiling and i just
removed -Wall, i didn't know, that removing -Werrors in the Makefile would
possibly help.
cheers
roman
> cheers,
> sevy
>
> Roman Haefeli wrote:
>
>> hi all, hi yves
>>
>> i couldn't compile [mp3amp~] on debian i386 and ppc. make exited with:
>>
>> 'mp3amp~.c:291: warning: passing arg 6 of `decodeMP3' from
>> incompatible pointer type'
>>
>> with the nice help of mamalala i changed the line 291:
>>
>> 'hframe.framesize+sizeof( unsigned long), (char *) p,
>> sizeof(x->x_out), &pbytes);'
>>
>> to:
>>
>> 'hframe.framesize+sizeof( unsigned long), (char *) p,
>> sizeof(x->x_out), (int *)&pbytes);'
>>
>> and the line 241:
>>
>> 't_int pbytes;'
>>
>> to:
>>
>> 'int pbytes;'
>>
>>
>> i'm not a c-programmer at all, but after this changes i could compile
>> it without any warning, it compiled also fine on ppc, where i had the
>> same troubles befor. i'm also not sure, who is actually maintaining
>> it. i'd like to ask the maintainer to submit this changes, if nothing
>> speaks against it.
>>
>> roman
>>
>>------------------------------------------------------------------------
>>
>>_______________________________________________
>>PD-list at iem.at mailing list
>>UNSUBSCRIBE and account-management ->
>>http://lists.puredata.info/listinfo/pd-list
>>
>>
>
>
___________________________________________________________
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de
More information about the Pd-list
mailing list