[Click] missing CLICK_DECLS in type_traits.hh ??

Eddie Kohler kohler at cs.ucla.edu
Fri May 27 13:42:53 EDT 2011


Thanks, Robert, this should be fixed.

Eddie


On 5/27/11 7:58 AM, Robert Sombrutzki wrote:
> Hi all,
> with the latest version of click (git
> f2498fdb7d3fd756617ed817b0cf92c3b8c4adf8) i get the folling error when i try
> to build libnsclick.so :
>
> /usr/src/click$ make ns
> make[1]: Entering directory `/usr/src/click/ns'
>    CXX ../lib/straccum.cc
> In file included
> from ../lib/straccum.cc:26: ../include/click/timestamp.hh:1263: error:
> specialization of 'template<class T>  struct has_trivial_copy' in different
> namespace
> ../include/click/type_traits.hh:16: error:   from definition
> of 'template<class T>  struct has_trivial_copy'
> make[1]: *** [straccum.o] Error 1
>
> The attached patch solves the problem (missing CLICK_DECLS and CLICK_ENDDECLS
> in include/click/type_traits.hh)
>
> Best regards,
> Robert
>
>
>
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click


More information about the click mailing list