[Click] Possible bug on big endian architectures

Roberto Riggio roberto.riggio at create-net.org
Mon Oct 18 10:20:05 EDT 2010


  This commit:

http://read.cs.ucla.edu/gitweb?p=click;a=commit;h=09b020884142a3e16fe7577d5b8baf744e785d35

Generates the following error when compiling click on BE architectures:

   CXX ../lib/string.cc
   CXX ../lib/straccum.cc
In file included from ../lib/straccum.cc:26:
../include/click/timestamp.hh:443: error: 'timespec' does not name a type
../include/click/timestamp.hh: In member function 'void 
Timestamp::assign_now(bool)':
../include/click/timestamp.hh:678: error: '_rep' was not declared in 
this scope
../include/click/timestamp.hh: In member function 'const timespec& 
Timestamp::timespec() const':
../include/click/timestamp.hh:908: error: '_rep' was not declared in 
this scope

If I revert the commit everything compiles fine.

R.


More information about the click mailing list