Hi and thanks for your bug report,

Could you try changing this line in utils/fluid_sys.h:

#define fluid_private_set(_priv, _data)
g_static_private_set(&(_priv), _data)

into:

#define fluid_private_set(_priv, _data)
g_static_private_set(&(_priv), _data, NULL)

Let me know if that helps, if it does, I'll commit a patch that should
do that permanently.

// David

On 02/24/2014 02:22 AM, BCA @ Free-Artists wrote:
> Hello,
> 
> I try to compile FS using MSVC 2008 or 2010 - compiling fails and I get
> the following output (debug and release configurations).
> Any help is highly appreciated.
> 
> Many thanks
> Bernd Casper
> 
> *************************
> 
> 1>------ Build started: Project: libfluidsynth, Configuration: Debug
> Win32 ------
> 1>Compiling...
> 1>fluid_filerenderer.c
> 1>fluid_cmd.c
> 1>fluid_aufile.c
> 1>fluid_mdriver.c
> 1>fluid_adriver.c
> 1>fluid_seq.c
> 1>fluid_seqbind.c
> 1>fluid_midi_router.c
> 1>fluid_midi.c
> 1>fluid_voice.c
> 1>fluid_tuning.c
> 1>fluid_synth.c
> 1>..\..\fluidsynth_470\src\synth\fluid_synth.c(193) : warning C4129: 's'
> : unrecognized character escape sequence
> 1>..\..\fluidsynth_470\src\synth\fluid_synth.c(193) : warning C4129: 'd'
> : unrecognized character escape sequence
> 1>..\..\fluidsynth_470\src\synth\fluid_synth.c(4483) : error C2198:
> 'g_static_private_set' : too few arguments for call
> 1>..\..\fluidsynth_470\src\synth\fluid_synth.c(4528) : error C2198:
> 'g_static_private_set' : too few arguments for call
> 1>..\..\fluidsynth_470\src\synth\fluid_synth.c(4530) : error C2198:
> 'g_static_private_set' : too few arguments for call
> 1>fluid_mod.c
> 1>fluid_gen.c
> 1>fluid_event.c
> 1>fluid_chan.c
> 1>fluid_rev.c
> 1>fluid_rvoice_mixer.c
> 1>fluid_rvoice_event.c
> 1>fluid_rvoice_dsp.c
> 1>Generating Code...
> 1>Compiling...
> 1>fluid_rvoice.c
> 1>fluid_lfo.c
> 1>fluid_iir_filter.c
> 1>fluid_chorus.c
> 1>fluid_adsr_env.c
> 1>fluid_ramsfont.c
> 1>fluid_defsfont.c
> 1>fluid_sys.c
> 1>fluid_settings.c
> 1>fluid_ringbuffer.c
> 1>fluid_list.c
> 1>fluid_hash.c
> 1>fluid_conv.c
> 1>fluid_winmidi.c
> 1>fluid_dsound.c
> 1>fluid_dll.c
> 1>Generating Code...
> 1>Build log was saved at
> "file://f:\compiling\FS_470_PA_1920\src\libfluidsynth.dir\Debug\BuildLog.htm"
> 
> 1>libfluidsynth - 3 error(s), 2 warning(s)
> ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
> 
> 
> _______________________________________________
> fluid-dev mailing list
> fluid-dev@nongnu.org
> https://lists.nongnu.org/mailman/listinfo/fluid-dev
> 


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

Reply via email to