Hi all,

I have a change that I would like to see i the next release if possible.

Change all the char* references to const char* in the public API.

The fluid_synth_sfload API already has this change. But it is missing
from for example the fluid_settings_setint API. When compiling
MidiDeviceFluidSynth.cpp I get the following error message.

MidiDeviceFluidSynth.cpp:95: warning: deprecated conversion from
string constant to ‘char*’

http://pianobooster.svn.sourceforge.net/viewvc/pianobooster/trunk/PianoBooster/src/MidiDeviceFluidSynth.cpp?revision=73&view=markup

and if I remove the type cast from line 249 of
MidiDeviceFluidSynth.cpp it generates an error

MidiDeviceFluidSynth.cpp:249: error: invalid conversion from ‘const
char*’ to ‘char*’

Thanks

Louis


_______________________________________________
fluid-dev mailing list
fluid-dev@nongnu.org
http://lists.nongnu.org/mailman/listinfo/fluid-dev

Reply via email to