[Click] click compile error: ../include/click/string.hh:650:30: error:

Dongyu Yang yangdy.nwpu at gmail.com
Mon May 23 22:38:22 EDT 2011


Thanks for your help!


2011/5/20 Eddie Kohler <kohler at cs.ucla.edu>

> You are using an old version of Click.  Please try the current git version
> and see if that fixes your problem.
>
> Eddie
>
>
>
> On 5/20/11 5:17 AM, Dongyu Yang wrote:
>
>> Hello,
>>
>>     When I update the gcc, glibc, it comes to the compile error as bellow:
>>
>> make[1]: Entering directory `/home/yangdy/workspace/click/userlevel'
>>   CXX ../lib/string.cc
>> In file included from ../lib/string.cc:22:0:
>> ../include/click/string.hh:650:30: error: expected primary-expression
>> before
>> ‘,’ token
>> ../include/click/string.hh:650:32: error: ‘real_data’ was not declared in
>> this scope
>> ../include/click/string.hh:650:41: error: a function call cannot appear in
>> a
>> constant-expression
>>
>>
>>    I don't know what case the problem?
>>    Thanks for your help!
>> _______________________________________________
>> click mailing list
>> click at amsterdam.lcs.mit.edu
>> https://amsterdam.lcs.mit.edu/mailman/listinfo/click
>>
>


More information about the click mailing list