[Click] ewma.hh:124: error: parse error before `{'

Eddie Kohler kohler at cs.ucla.edu
Sun Jun 15 21:12:45 EDT 2008


Hi Daan,

I've fixed this problem -- your older GCC doesn't like function attributes on 
function definitions.

Eddie


Daan Pareit wrote:
> Hello,
> 
> today I downloaded the snapshot "Eddie Kohler [Thu, 12 Jun 2008 14:12:37 
> +0000]".
> I did the normal stuff:
>     ./configure --enable-local --disable-linuxmodule
>     make elemlist
>     make
> 
> But then got the error:
>     ewma.hh:124: error: parse error before `{'
> When removing the 'CLICK_DEPRECATED' on that line, Click did compile 
> normally. Is this a bug in the code, or is it my compiler that doesn't 
> handle this as it should?
> (gcc --version: gcc.real (GCC) 3.3.5 (Debian 1:3.3.5-13)
> make --version: GNU Make 3.80)
> 
> Kind regards,
>    Daan
> 


More information about the click mailing list