Csound Csound-dev Csound-tekno Search About

[Cs-dev] Warnings

Date2013-05-02 23:30
FromMichael Gogins
Subject[Cs-dev] Warnings
AttachmentsNone  None  
On MinGW from GIT head, many warnings of this sort:

c:/Users/Michael/csound-csound6-git/OOps/ugtabs.c:616:32: warning: passing argument 2 of 'csound->PerfError' from incompatible p
ointer type [enabled by default]
c:/Users/Michael/csound-csound6-git/OOps/ugtabs.c:616:32: note: expected 'struct INSDS *' but argument is of type 'char *'
c:/Users/Michael/csound-csound6-git/OOps/ugtabs.c:616:32: warning: passing argument 3 of 'csound->PerfError' makes pointer from
integer without a cast [enabled by default]
c:/Users/Michael/csound-csound6-git/OOps/ugtabs.c:616:32: note: expected 'const char *' but argument is of type 'int'
c:/Users/Michael/csound-csound6-git/OOps/ugtabs.c: In function 'tablewkt_audio':
c:/Users/Michael/csound-csound6-git/OOps/ugtabs.c:633:32: warning: passing argument 2 of 'csound->PerfError' from incompatible p
ointer type [enabled by default]
c:/Users/Michael/csound-csound6-git/OOps/ugtabs.c:633:32: note: expected 'struct INSDS *' but argument is of type 'char *'
c:/Users/Michael/csound-csound6-git/OOps/ugtabs.c:633:32: warning: passing argument 3 of 'csound->PerfError' makes pointer from
integer without a cast [enabled by default]
c:/Users/Michael/csound-csound6-git/OOps/ugtabs.c:633:32: note: expected 'const char *' but argument is of type 'int'
c:/Users/Michael/csound-csound6-git/OOps/ugtabs.c: In function 'table_ra':
c:/Users/Michael/csound-csound6-git/OOps/ugtabs.c:794:32: warning: passing argument 2 of 'csound->PerfError' from incompatible p
ointer type [enabled by default]
c:/Users/Michael/csound-csound6-git/OOps/ugtabs.c:794:32: note: expected 'struct INSDS *' but argument is of type 'char *'
c:/Users/Michael/csound-csound6-git/OOps/ugtabs.c:794:32: warning: passing argument 3 of 'csound->PerfError' makes pointer from
integer without a cast [enabled by default]
c:/Users/Michael/csound-csound6-git/OOps/ugtabs.c:794:32: note: expected 'const char *' but argument is of type 'int'
c:/Users/Michael/csound-csound6-git/OOps/ugtabs.c:802:30: warning: passing argument 2 of 'csound->PerfError' from incompatible p
ointer type [enabled by default]
c:/Users/Michael/csound-csound6-git/OOps/ugtabs.c:802:30: note: expected 'struct INSDS *' but argument is of type 'char *'
c:/Users/Michael/csound-csound6-git/OOps/ugtabs.c:802:30: warning: passing argument 3 of 'csound->PerfError' makes pointer from
integer without a cast [enabled by default]
c:/Users/Michael/csound-csound6-git/OOps/ugtabs.c:802:30: note: expected 'const char *' but argument is of type 'int32'
c:/Users/Michael/csound-csound6-git/OOps/ugtabs.c: In function 'table_wa':
c:/Users/Michael/csound-csound6-git/OOps/ugtabs.c:840:32: warning: passing argument 2 of 'csound->PerfError' from incompatible p
ointer type [enabled by default]
c:/Users/Michael/csound-csound6-git/OOps/ugtabs.c:840:32: note: expected 'struct INSDS *' but argument is of type 'char *'
c:/Users/Michael/csound-csound6-git/OOps/ugtabs.c:840:32: warning: passing argument 3 of 'csound->PerfError' makes pointer from
integer without a cast [enabled by default]
c:/Users/Michael/csound-csound6-git/OOps/ugtabs.c:840:32: note: expected 'const char *' but argument is of type 'int'
c:/Users/Michael/csound-csound6-git/OOps/ugtabs.c:848:30: warning: passing argument 2 of 'csound->PerfError' from incompatible p
ointer type [enabled by default]
c:/Users/Michael/csound-csound6-git/OOps/ugtabs.c:848:30: note: expected 'struct INSDS *' but argument is of type 'char *'
c:/Users/Michael/csound-csound6-git/OOps/ugtabs.c:848:30: warning: passing argument 3 of 'csound->PerfError' makes pointer from
integer without a cast [enabled by default]
c:/Users/Michael/csound-csound6-git/OOps/ugtabs.c:848:30: note: expected 'const char *' but argument is of type 'int32'

--
Michael Gogins
Irreducible Productions
http://www.michael-gogins.com
Michael dot Gogins at gmail dot com