Thanks, it works also for me. Il 11/01/2011 00:34, Eddie Kohler ha scritto: > Hi Roberto! > > Thanks for the repository. I replicated the bug and believe it's > fixed. Let us know. > > Eddie > > > On 01/10/2011 12:09 AM, Roberto Riggio wrote: >> Il 09/01/2011 22:56, Eddie Kohler ha scritto: >>> Roberto, >> Hi >>> >>> I can't replicate this. Do you by any chance mention >>> ELEMENT_REQUIRES(Foo<Bar>) in some other element? (That wouldn't >>> work.) If >>> it remains a problem please send a minimal test case or make your >>> repository >>> available on github. >> I'm using just ELEMENT_REQUIRES(Foo) where Foo is the template. The >> repository >> is available at: >> >> git://github.com/rriggio/click.git >> >>> >>> Eddie >>> >>> >>> On 1/9/11 10:37 AM, Roberto Riggio wrote: >>>> Hi, >>>> >>>> I wrote a template class for an element. The corresponding .cc file >>>> consist only of: >>>> >>>> #include<click/config.h> >>>> #include "wingbase.hh" >>>> #include<click/confparse.hh> >>>> #include<click/error.hh> >>>> CLICK_DECLS >>>> CLICK_ENDDECLS >>>> ELEMENT_REQUIRES(LinkTableMulti ARPTableMulti NodeAddress) >>>> ELEMENT_PROVIDES(WINGBase) >>>> >>>> However when I try to compile the mindriver I get the following error: >>>> >>>> ../click-buildtool elem2export< elements_wing.conf> elements_wing.cc >>>> CXX elements_wing.cc >>>> elements_wing.cc: In function 'Element* beetlemonkey(uintptr_t)': >>>> elements_wing.cc:115: error: expected type-specifier before 'WINGBase' >>>> elements_wing.cc:115: error: cannot convert 'int*' to 'Element*' in >>>> return >>>> elements_wing.cc:115: error: expected ';' before 'WINGBase' >>>> elements_wing.cc:115: error: missing template arguments before ';' >>>> token >>>> >>>> Any idea about the reason? The compile ends regulary for the normal >>>> build procedure (i.e. no mindriver). >>>> >>>> R. >>>> _______________________________________________ >>>> click mailing list >>>> [email protected] >>>> https://amsterdam.lcs.mit.edu/mailman/listinfo/click >>
_______________________________________________ click mailing list [email protected] https://amsterdam.lcs.mit.edu/mailman/listinfo/click
