Since upgrading my distro to Ubuntu Hardy and with it gcc to version 4.2.3 (Ubuntu 4.2.3-2ubuntu7) I have been getting compiler warnings when building oss from hg (see attachment).

Not fatal I know but nevertheless disturbing especially as I have been unable to correct the problem.

Can someone tell me what is really wrong and more importantly how to fix it?

Kind regards,
Clive
oss_grc3.c: In function ‘grc3_convert’:
oss_grc3.c:243: warning: passing argument 2 of ‘grc3_resample_L8_8’ 
discards qualifiers from pointer target type
oss_grc3.c:246: warning: passing argument 2 of ‘grc3_resample_L32_32’ 
discards qualifiers from pointer target type
oss_grc3.c:248: warning: passing argument 2 of ‘grc3_resample_L8_8’ 
discards qualifiers from pointer target type
oss_grc3.c:251: warning: passing argument 2 of ‘grc3_resample_L32_32’ 
discards qualifiers from pointer target type
oss_grc3.c:254: warning: passing argument 2 of ‘grc3_resample_M8_8’ 
discards qualifiers from pointer target type
oss_grc3.c:257: warning: passing argument 2 of ‘grc3_resample_M32_32’ 
discards qualifiers from pointer target type
oss_grc3.c:260: warning: passing argument 2 of ‘grc3_resample_H8_8’ 
discards qualifiers from pointer target type
oss_grc3.c:261: warning: passing argument 2 of ‘grc3_resample_H16_16’ 
discards qualifiers from pointer target type
oss_grc3.c:263: warning: passing argument 2 of ‘grc3_resample_H32_32’ 
discards qualifiers from pointer target type
oss_grc3.c:265: warning: passing argument 2 of ‘grc3_resample_HX8_8’ 
discards qualifiers from pointer target type
oss_grc3.c:268: warning: passing argument 2 of ‘grc3_resample_HX32_32’ 
discards qualifiers from pointer target type
oss_grc3.c:271: warning: passing argument 2 of ‘grc3_resample_P8_8’ 
discards qualifiers from pointer target type
oss_grc3.c:274: warning: passing argument 2 of ‘grc3_resample_P32_32’ 
discards qualifiers from pointer target type
oss_grc3.c:276: warning: passing argument 2 of ‘grc3_resample_PX8_8’ 
discards qualifiers from pointer target type
oss_grc3.c:279: warning: passing argument 2 of ‘grc3_resample_PX32_32’ 
discards qualifiers from pointer target type
oss_grc3.c:279: warning: passing argument 2 of ‘grc3_resample_PXv32_v32’ 
discards qualifiers from pointer target type
_______________________________________________
oss-devel mailing list
oss-devel@mailman.opensound.com
http://mailman.opensound.com/mailman/listinfo/oss-devel

Reply via email to