Csound Csound-dev Csound-tekno Search About

[Cs-dev] ANother one

Date2010-08-02 09:00
FromJohn ffitch
Subject[Cs-dev] ANother one
util/srconv.c: In function ‘writebuffer’:
util/srconv.c:73: warning: passing argument 1 of ‘csound->rewriteheader’ from incompatible pointer type
util/srconv.c:73: note: expected ‘struct SNDFILE *’ but argument is of type ‘struct SNDFILE *’

Looks VERY odd!

==JOhn

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/l

Date2010-08-02 10:12
FromVictor Lazzarini
SubjectRe: [Cs-dev] ANother one
It's to do with the macros defined in sndfile.h and the forward  
declaration in csoundCore.h. Fixed the warning with a cast to (struct  
SNDFILE *).
But the warning message is still very odd.
Victor
On 2 Aug 2010, at 09:00, John ffitch wrote:

> util/srconv.c: In function ‘writebuffer’:
> util/srconv.c:73: warning: passing argument 1 of ‘csound- 
> >rewriteheader’ from incompatible pointer type
> util/srconv.c:73: note: expected ‘struct SNDFILE *’ but argument is  
> of type ‘struct SNDFILE *’
>
> Looks VERY odd!
>
> ==JOhn
>
> ------------------------------------------------------------------------------
> The Palm PDK Hot Apps Program offers developers who use the
> Plug-In Development Kit to bring their C/C++ apps to Palm for a share
> of $1 Million in cash or HP Products. Visit us here for more details:
> http://p.sf.net/sfu/dev2dev-palm
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel


------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net