[Bro-Dev] #761: 64bit types in binpac

Bro Tracker bro at tracker.bro-ids.org
Mon Jan 30 15:39:11 PST 2012


#761: 64bit types in binpac
----------------------+------------------------
  Reporter:  seth     |      Owner:  seth
      Type:  Problem  |     Status:  assigned
  Priority:  Normal   |  Milestone:  Bro2.1
 Component:  Bro      |    Version:  git/master
Resolution:           |   Keywords:
----------------------+------------------------
Changes (by robin):

 * owner:  robin => seth
 * status:  new => assigned
 * type:  Merge Request => Problem


Comment:

 This doesn't compile for me on a 64-bit Linux:

 {{{
 [ 15%] Building CXX object src/CMakeFiles/bro.dir/ssl_pac.cc.o
 /home/robin/bro/master/build/src/ssl_pac.cc: In member function ‘bool
 binpac::SSL::SSL_Conn::proc_certificate(binpac::SSL::SSLRecord*,
 std::vector<binpac::datastring<unsigned char> >*)’:
 /home/robin/bro/master/build/src/ssl_pac.cc:312:78: error: call of
 overloaded ‘Val(binpac::uint64, TypeTag)’ is ambiguous
 /home/robin/bro/master/build/src/ssl_pac.cc:312:78: note: candidates are:
 /home/robin/bro/master/src/Val.h:352:2: note: Val::Val(BroString*,
 TypeTag) <near match>
 /home/robin/bro/master/src/Val.h:352:2: note:   no known conversion for
 argument 1 from ‘binpac::uint64 {aka long long unsigned int}’ to
 ‘BroString*’
 /home/robin/bro/master/src/Val.h:144:2: note: Val::Val(BroType*, bool)
 <near match>
 /home/robin/bro/master/src/Val.h:144:2: note:   no known conversion for
 argument 1 from ‘binpac::uint64 {aka long long unsigned int}’ to
 ‘BroType*’
 /home/robin/bro/master/src/Val.h:128:2: note: Val::Val(double, TypeTag)
 /home/robin/bro/master/src/Val.h:118:2: note: Val::Val(uint64, TypeTag)
 /home/robin/bro/master/src/Val.h:108:2: note: Val::Val(int64, TypeTag)
 /home/robin/bro/master/src/Val.h:98:2: note: Val::Val(uint32, TypeTag)
 /home/robin/bro/master/src/Val.h:88:2: note: Val::Val(int32, TypeTag)
 /home/robin/bro/master/src/Val.h:78:2: note: Val::Val(bool, TypeTag)
 make[3]: *** [src/CMakeFiles/bro.dir/ssl_pac.cc.o] Error 1
 make[3]: Leaving directory `/da/home/robin/bro/master/build'
 make[2]: *** [src/CMakeFiles/bro.dir/all] Error 2
 make[2]: Leaving directory `/da/home/robin/bro/master/build'
 make[1]: *** [all] Error 2
 make[1]: Leaving directory `/da/home/robin/bro/master/build'
 make: *** [all] Error 2

 }}}

-- 
Ticket URL: <http://tracker.bro-ids.org/bro/ticket/761#comment:1>
Bro Tracker <http://tracker.bro-ids.org/bro>
Bro Issue Tracker



More information about the bro-dev mailing list