
Rene Rivera wrote:
Reed Kotler wrote:
thanks but it's not in 1.33.0. I have that version and it's not fixed there. maybe some later patch. I see that it's fixed at this URL you mention.
Grr... The change seems to have been accidentally reverted on the next version. You can quickly patch it by adding "using namespace std;" in those files as needed. I'll fix it on the RC_1_33_0 branch for the 1.33.1 release.
Here's the diff to fix it... Index: graphviz_digraph_parser.cpp =================================================================== RCS file: /cvsroot/boost/boost/libs/graph/src/graphviz_digraph_parser.cpp,v retrieving revision 1.16 retrieving revision 1.16.2.1 diff -u -r1.16 -r1.16.2.1 --- graphviz_digraph_parser.cpp 12 Jul 2005 03:10:31 -0000 1.16 +++ graphviz_digraph_parser.cpp 5 Oct 2005 18:57:33 -0000 1.16.2.1 @@ -46,6 +46,9 @@ #include <sstream> #endif +using std::free; +using std::malloc; + #ifndef GRAPHVIZ_DIRECTED #error Need to define the GRAPHVIZ_DIRECTED macro to either 0 or 1 #endif Index: graphviz_graph_parser.cpp =================================================================== RCS file: /cvsroot/boost/boost/libs/graph/src/graphviz_graph_parser.cpp,v retrieving revision 1.16 retrieving revision 1.16.2.1 diff -u -r1.16 -r1.16.2.1 --- graphviz_graph_parser.cpp 12 Jul 2005 03:10:32 -0000 1.16 +++ graphviz_graph_parser.cpp 5 Oct 2005 18:57:33 -0000 1.16.2.1 @@ -46,6 +46,9 @@ #include <sstream> #endif +using std::free; +using std::malloc; + #ifndef GRAPHVIZ_DIRECTED #error Need to define the GRAPHVIZ_DIRECTED macro to either 0 or 1 #endif Index: graphviz_parser.yy =================================================================== RCS file: /cvsroot/boost/boost/libs/graph/src/graphviz_parser.yy,v retrieving revision 1.4 retrieving revision 1.4.2.1 diff -u -r1.4 -r1.4.2.1 --- graphviz_parser.yy 24 Mar 2005 14:54:11 -0000 1.4 +++ graphviz_parser.yy 5 Oct 2005 18:57:33 -0000 1.4.2.1 @@ -24,6 +24,9 @@ #include <sstream> #endif +using std::free; +using std::malloc; + #ifndef GRAPHVIZ_DIRECTED #error Need to define the GRAPHVIZ_DIRECTED macro to either 0 or 1 #endif -- -- Grafik - Don't Assume Anything -- Redshift Software, Inc. - http://redshift-software.com -- rrivera/acm.org - grafik/redshift-software.com -- 102708583/icq - grafikrobot/aim - Grafik/jabber.org