[Bro-Dev] #887: Build fails with older Python C API

Bro Tracker bro at tracker.bro-ids.org
Thu Sep 27 12:43:54 PDT 2012


#887: Build fails with older Python C API
--------------------------+------------------------
 Reporter:  matthias      |      Owner:
     Type:  Problem       |     Status:  new
 Priority:  Normal        |  Milestone:  Bro2.2
Component:  pysubnettree  |    Version:  git/master
 Keywords:                |
--------------------------+------------------------
 Older Python bindings presumably rely on a concrete type when decrementing
 a reference count with `Py_DECREF`, breaking the build process:

 {{{
  [ 77%] Building CXX object
 aux/broctl/aux/pysubnettree/CMakeFiles/_SubnetTree.dir/SubnetTree.cc.o
  ../bro/aux/broctl/aux/pysubnettree/SubnetTree.cc: In function ‘void
 free_data(void*)’:
  ../bro/aux/broctl/aux/pysubnettree/SubnetTree.cc:90: error: ‘void*’ is
 not a pointer-to-object type
 }}}

-- 
Ticket URL: <http://tracker.bro-ids.org/bro/ticket/887>
Bro Tracker <http://tracker.bro-ids.org/bro>
Bro Issue Tracker



More information about the bro-dev mailing list