fluid-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [fluid-dev] FluidSynth 1.1.2 release planning


From: David Henningsson
Subject: Re: [fluid-dev] FluidSynth 1.1.2 release planning
Date: Thu, 15 Jul 2010 21:09:30 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.10) Gecko/20100528 Thunderbird/3.0.5

2010-07-15 18:57, Pedro Lopez-Cabanillas skrev:
>> * Testing, testing, testing! That's always appreciated to make sure will
>> be 1.1.2 is our best and most stable release so far! In particular,
>> please test the new cmake build system, especially if you use a little
>> less common platform (i e anything else than Linux and Windows), or you
>> feel somewhat responsible for a specific platform.
> 
> Compiling in Windows with VS2008, I've found the following errors:
> 
> rvoice\fluid_rvoice_mixer.c(162) : error C2057: expected constant expression
> rvoice\fluid_rvoice_mixer.c(162) : error C2466: cannot allocate an array of 
> constant size 0
> rvoice\fluid_rvoice_mixer.c(162) : error C2133: 'local_buf' : unknown size
> rvoice\fluid_rvoice_mixer.c(337) : error C2057: expected constant expression
> rvoice\fluid_rvoice_mixer.c(337) : error C2466: cannot allocate an array of 
> constant size 0
> rvoice\fluid_rvoice_mixer.c(337) : error C2133: 'bufs' : unknown size
> rvoice\fluid_rvoice_mixer.c(630) : error C2057: expected constant expression
> rvoice\fluid_rvoice_mixer.c(630) : error C2466: cannot allocate an array of 
> constant size 0
> rvoice\fluid_rvoice_mixer.c(630) : error C2133: 'bufs' : unknown size
> rvoice\fluid_rvoice_mixer.c(724) : error C2057: expected constant expression
> rvoice\fluid_rvoice_mixer.c(724) : error C2466: cannot allocate an array of 
> constant size 0
> rvoice\fluid_rvoice_mixer.c(724) : error C2133: 'bufs' : unknown size

Okay, so after eleven years MSVC still does not support standard C99
features. Oh well, I did a commit which will hopefully solve it. If you
like, you can implement a test for SUPPORTS_VLA in cmake (see
fluidsynth_priv.h), otherwise we'll just run alloca everywhere.

// David



reply via email to

[Prev in Thread] Current Thread [Next in Thread]