Am 6. August 2019 18:41:21 MESZ schrieb Nick Burge via Pd-list <pd-list@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 _______________________________________________ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list