| Last set of changes adding const in places breaks build of winsound
/home/jpff/csound6/frontends/winsound/main.cxx: In function ‘void cs_compile_run()’:
/home/jpff/csound6/frontends/winsound/main.cxx:227:44: error: invalid conversion from ‘char**’ to ‘const char**’ [-fpermissive]
res = csoundCompile(csound, nxt, argv);
^
In file included from /home/jpff/csound6/frontends/winsound/main.cxx:6:0:
/home/jpff/csound6/./include/csound.h:690:16: error: initializing argument 3 of ‘int csoundCompile(CSOUND*, int, const char**)’ [-fpermissive]
PUBLIC int csoundCompile(CSOUND *, int argc, const char **argv);
^
/home/jpff/csound6/frontends/winsound/main.cxx: In function ‘void cs_util_opc(int)’:
/home/jpff/csound6/frontends/winsound/main.cxx:275:34: error: invalid conversion from ‘char**’ to ‘const char**’ [-fpermissive]
csoundCompile(csound, 2, argv);
^
In file included from /home/jpff/csound6/frontends/winsound/main.cxx:6:0:
/home/jpff/csound6/./include/csound.h:690:16: error: initializing argument 3 of ‘int csoundCompile(CSOUND*, int, const char**)’ [-fpermissive]
PUBLIC int csoundCompile(CSOUND *, int argc, const char **argv);
^
frontends/CMakeFiles/winsound.dir/build.make:80: recipe for target 'frontends/CMakeFiles/winsound.dir/winsound/main.cxx.o' failed
Did anyone check?
|