Boost logo

Boost Users :

From: Martin Okrslar (okrslar_at_[hidden])
Date: 2003-03-06 11:52:58


Dear Boost group,

some how I get compiler erros while trying to BOOST_INSTALL_PROPERTY. My
test program is really tiny:

#ifndef DOMCLUST_VERTEX_PROPERTY
#define DOMCLUST_VERTEX_PROPERTY

#include <boost/graph/properties.hpp>

    namespace boost{
      enum vertex_xx_t { vertex_xx = 1111};
      BOOST_INSTALL_PROPERTY(vertex,vertex_xx);
    }

#endif

And gcc 3.2 complains:

VertexProperty.h:8: `vertex_vertex_xx_t' was not declared in this scope
VertexProperty.h:8: template argument 1 is invalid

Could anybody of you tell me why?

all the best
 Martin

-- 
-----------------------------------------------------------------------------
Martin Okrslar
MPI for Molecular Genetics          phone: ++ 49 + 30 / 8413-1166
Computational Molecular Biology     Fax:   ++ 49 + 30 / 8413-1152
Ihnestrasse 73                      email: okrslar_at_[hidden]
D-14195 Berlin                      URL:   http://cmb.molgen.mpg.de
-----------------------------------------------------------------------------

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net