Boost logo

Boost :

From: jaishima (jaishima_at_[hidden])
Date: 2002-02-15 18:48:52


I compiled a program using the Boost graph library and got the
following error:

cxx: Error: /net/cci/jun/boost/boost/pending/disjoint_sets.hpp, line
38: #20
          identifier "pc" is undefined
      return detail::find_representative_with_path_halving(pc, v);
-----------------------------------------------------------^
cxx: Info: 1 error detected in the compilation of "pole2graph.C".

I then "fixed" the error by changing the arguments from (pc,v) to
(p,v). Recompiling resulted in the following warning:

cxx: Warning: /net/cci/jun/boost/boost/pending/property.hpp, line 16:
#998-D
          variable "p.m_value" declared at line 1947 of
          "/net/cci/jun/boost/boost/graph/detail/adjacency_list.hpp"
is
          fetched, not initialized
  struct property : public Base {
---------^

My program seems to run fine even with the warning.

Jun Aishima


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk