Csound Csound-dev Csound-tekno Search About

[Cs-dev] New compiler warnings

Date2005-05-30 14:39
Fromjpff@codemist.co.uk
Subject[Cs-dev] New compiler warnings
These are relatively new.  Could relate to why current build totally
fails?

gcc -g -gstabs -O2 -DCSOUND_WITH_API -DLINUX -Wall -DPIPES -DHAVE_FCNTL_H -DHAVE_UNISTD_H -DHAVE_STDINT_H -DHAVE_MALLOC_H -DHAVE_SYS_IOCTL_H -DHAVE_SYS_TIME_H -DHAVE_SYS_TYPES_H -DHAVE_CTYPE_H -DHAVE_TERMIOS_H -DHAVE_STRING_H -DHAVE_DIRENT_H -DWINDOWS -DUSE_FLTK -fPIC -DBETA -DUSE_DOUBLE -I. -IH -I/usr/local/include/python2.3 -I/usr/local/include -I/usr/include -I/usr/X11R6/include -c -o InOut/pa_blocking.os InOut/pa_blocking.c
InOut/pa_blocking.c: In function `paBlockingReadWriteOpen':
InOut/pa_blocking.c:23: warning: assignment from incompatible pointer type
InOut/pa_blocking.c:27: warning: assignment from incompatible pointer type
InOut/pa_blocking.c: In function `paBlockingWriteOpen':
InOut/pa_blocking.c:74: warning: assignment from incompatible pointer type
InOut/pa_blocking.c: In function `paBlockingReadOpen':
InOut/pa_blocking.c:189: warning: assignment from incompatible pointer type

It seems as if the pabs[INS].actualBuffer in not of type MYFLT* but of
type float -- which are not the same.  Which should it be?

==John ffitch


-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2005-05-30 15:17
FromVictor Lazzarini
SubjectRe: [Cs-dev] New compiler warnings
Should be fixed now. It was my fault (long ago, though).

Victor
At 14:39 30/05/2005, you wrote:
>These are relatively new.  Could relate to why current build totally
>fails?
>
>gcc -g -gstabs -O2 -DCSOUND_WITH_API -DLINUX -Wall -DPIPES -DHAVE_FCNTL_H 
>-DHAVE_UNISTD_H -DHAVE_STDINT_H -DHAVE_MALLOC_H -DHAVE_SYS_IOCTL_H 
>-DHAVE_SYS_TIME_H -DHAVE_SYS_TYPES_H -DHAVE_CTYPE_H -DHAVE_TERMIOS_H 
>-DHAVE_STRING_H -DHAVE_DIRENT_H -DWINDOWS -DUSE_FLTK -fPIC -DBETA 
>-DUSE_DOUBLE -I. -IH -I/usr/local/include/python2.3 -I/usr/local/include 
>-I/usr/include -I/usr/X11R6/include -c -o InOut/pa_blocking.os 
>InOut/pa_blocking.c
>InOut/pa_blocking.c: In function `paBlockingReadWriteOpen':
>InOut/pa_blocking.c:23: warning: assignment from incompatible pointer type
>InOut/pa_blocking.c:27: warning: assignment from incompatible pointer type
>InOut/pa_blocking.c: In function `paBlockingWriteOpen':
>InOut/pa_blocking.c:74: warning: assignment from incompatible pointer type
>InOut/pa_blocking.c: In function `paBlockingReadOpen':
>InOut/pa_blocking.c:189: warning: assignment from incompatible pointer type
>
>It seems as if the pabs[INS].actualBuffer in not of type MYFLT* but of
>type float -- which are not the same.  Which should it be?
>
>==John ffitch
>
>
>-------------------------------------------------------
>This SF.Net email is sponsored by Yahoo.
>Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
>Search APIs Find out how you can build Yahoo! directly into your own
>Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
>_______________________________________________
>Csound-devel mailing list
>Csound-devel@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/csound-devel

Victor Lazzarini
Music Technology Laboratory
Music Department
National University of Ireland, Maynooth 



-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net