[Kdenlive-devel] FFT problem: error: expected expression before ‘/’ token

Dan Dennedy dan at dennedy.org
Mon Nov 15 18:48:22 UTC 2010


On Mon, Nov 15, 2010 at 2:52 AM, jb <jb at kdenlive.org> wrote:
> On Monday 15 November 2010 10.06:23 Simon Eugster wrote:
>> Good morning,
>
>> /data/cworkspace/kdenlive.git/kdenlive/src/kiss_fft/kiss_fft.c:393:
>> error: expected expression before ‘/’ token
>> make[2]: *** [src/cmake_bindir/CMakeFiles/kdenlive.dir/kiss_fft/kiss_fft.o]
>> Fehler 1
>>
>> Any hint?
>
> Yes. C code does not accept comments starting with //
> You must use /* ... */ for your comments.

I use // style comments in my C code all the time except public
headers for portability. Of course, I am referring to C99. Obviously,
he does not want to have to modify all of this existing code he is
reusing, so it must come down to a compiler flag. Is somebody adding
'-ansi' ?

-- 
+-DRD-+




More information about the Kdenlive mailing list