New compiler warnings

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

New compiler warnings

john ffitch
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/csound-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: New compiler warnings

Michael Gogins
The actual buffer should be float, as that is why PortAudio uses.

Regards,
Mike

-----Original Message-----
From: [hidden email]
Sent: May 30, 2005 9:39 AM
To: [hidden email]
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/csound-devel





-------------------------------------------------------
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/csound-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: New compiler warnings

Victor Lazzarini
In reply to this post by john ffitch
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
>[hidden email]
>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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/csound-devel
Loading...