[LAD] fftw_complex and C++11

Aurélien Leblond blablack at gmail.com
Sun Jan 4 22:16:05 UTC 2015

On 4 Jan 2015 22:06, "Paul Davis" <paul at linuxaudiosystems.com> wrote:
> On Sun, Jan 4, 2015 at 4:30 PM, Aurélien Leblond <blablack at gmail.com>
>> As far as I can see I have 2 options:
>> - Port the code to the c++11 standard - but you seem to think that's a
bad idea
>> - Compile this plugin with C99 - that's the solution I have in the git
>> at the moment but I get the warning "cc1plus: warning: command line
>> option ‘-std=c99’ is valid for C/ObjC but not for C++ [enabled by
>> default]" and call me pedantic but I don't like warnings!
> C99 is a *C* language standard, not a C++ language standard. There seems
to be some confusion here over what language the code you're trying to
compile really is.
> Is it C? Then C99 is appropriate but need a few tweaks. c++11 would not
be appropriate.
> Is it C++? Then C++11 is an option but is also relatively new, and so may
or may not be appropriate. C99 is not appropriate for C++ code.

The language I'm using is c++, and the standard I have been using so far is

But I still have this problem with complex numbers, the c++11 and porting
the vocoder from Alsa Modular Synth.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxaudio.org/pipermail/linux-audio-dev/attachments/20150104/b4e4ff8b/attachment.html>

More information about the Linux-audio-dev mailing list