Compiling error from a commit from yesterday

Hi there,

I pulled the next branch and tried to compile it on Mac OS X 10.8.3 with
clang++. I’ve found this error:


[ 62%] Building CXX object
gr-analog/lib/CMakeFiles/gnuradio-analog.dir/quadrature_demod_cf_impl.cc.o
/Users/carlesfernandez/gnuradio/gr-analog/lib/quadrature_demod_cf_impl.cc:67:21:
error: variable length array of non-POD element type
‘gr_complex’ (aka ‘complex’)
gr_complex tmp[noutput_items];
^
1 error generated.
make[2]: ***
[gr-analog/lib/CMakeFiles/gnuradio-analog.dir/quadrature_demod_cf_impl.cc.o]
Error 1
make[1]: *** [gr-analog/lib/CMakeFiles/gnuradio-analog.dir/all] Error 2
make: *** [all] Error 2

This error was introduced by revision beb44631, since it was not present
before. It seems that in standard C++ the length of the array needs to
be a
compile time constant, maybe a vector could be used there.

Best regards,
Carles

On Sun, May 26, 2013 at 3:43 AM, Carles Fernandez <
[email protected]> wrote:

This error was introduced by revision beb44631, since it was not present
before. It seems that in standard C++ the length of the array needs to be a
compile time constant, maybe a vector could be used there.

Good catch, will fix shortly.

On Sun, May 26, 2013 at 5:30 AM, Johnathan C.
[email protected]wrote:

This has been fixed, please test.

Now it works :slight_smile:

Thanks Johnathan!

On Sun, May 26, 2013 at 3:00 PM, Johnathan C.