[PD] 0.37 Version Compilation error on RH 8

vanDongen/Gilcher gml at xs4all.nl
Fri Oct 3 18:32:51 CEST 2003


On Friday 03 October 2003 05:57, luigi rensinghoff wrote:

> Thats my compilation error:
>
> cc1: warnings being treated as errors
> s_audio_jack.c: In function `srate':
> s_audio_jack.c:72: warning: long int format,
> jack_nframes_t arg (arg 2)
> make: *** [s_audio_jack.o] Fehler 1
>
>
> Any IDEA what i could do ?
>

You can also add a typecast to the function on line 72 of the s_audio_jack.c 
file
IIRC it is a printf(.... );
or a post(.......); statement so I think you can even comment it out.

If you have no idea what I mean , these are the specifics:
open the file s_audio_jack.c in a text editor.
change line 72 from:
  printf ("jack: sample rate %ld/sec\n", srate);
to
printf ("jack:sample rate %ld/sec\n",(long int) srate);

And it should compile.
Gerard


-- 
electronic & accoustic musics-- http://www.xs4all.nl/~gml




More information about the Pd-list mailing list