[PD] readanysf~ on osx 10.14

IOhannes m zmölnig zmoelnig at iem.at
Tue Aug 6 19:19:40 CEST 2019


Am 6. August 2019 18:41:21 MESZ schrieb Nick Burge via Pd-list <pd-list at lists.iem.at>:
>src/ReadMedia.h:59:25: note: passing argument to parameter 'filename'
>here
>void openFile( char * filename, int vfifosize, int afifosize, int
>samples_per_frame);
>                                      ^
>1 error generated.
>make: *** [pd_darwin] Error 1
>
>

it's actually the other way round: a function expects a non-const value but gets a const one.
a very dirty hack is to cast to `char*`. a better fix is to change the `openFile` function to take `const char*` instead.



mfg.hft.fsl
IOhannes




More information about the Pd-list mailing list