[Click] missing CLICK_DECLS in type_traits.hh ??

Robert Sombrutzki sombrutz at informatik.hu-berlin.de
Fri May 27 10:58:00 EDT 2011


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: missing_CLICK_DECLS.patch
Type: text/x-diff
Size: 498 bytes
Desc: not available
Url : http://amsterdam.lcs.mit.edu/pipermail/click/attachments/20110527/349f2bbf/attachment.patch 


More information about the click mailing list