Boost logo

Boost Users :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2004-03-16 01:54:06


Steve Juranich wrote:

Hi Steve,

> When I cd into $BOOST/libs/graph/src and type 'make', I get the following
> errors:
>
> barbet:/local/src/boost_1_31_0/libs/graph/src # make
> flex -Pbgl_undir_ -ographviz_graph_lex.cpp graphviz_lex.ll
> bison -p bgl_undir_ -d -v -o graphviz_graph_parser.cpp graphviz_parser.yy
> graphviz_parser.yy: warning: 1 shift/reduce conflict
> g++ -ftemplate-depth-50 -DGRAPHVIZ_DIRECTED=0 -I../../.. -g -c
> graphviz_graph_lex.cpp
> graphviz_lex.ll: In function `int bgl_undir_lex(yystype*)':
> graphviz_lex.ll:85: error: request for member `ptr' in `*lvalp', which is
> of
> non-class type `int'

Strange. lvalp should have the type YYSTYPE, which should be declared in
yystype.h. Would you mind running

   g++ -save-temps -ftemplate-depth-50 -DGRAPHVIZ_DIRECTED=0 -I../../.. -g
   -c graphviz_graph_lex.cpp

and looking at preprocessing results (in graphviz_graph_lex.ii) and
determining the real type of 'yylex' function parameter and 'lvalp'
variable?

- Volodya


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