Re: [boost] Boost Digest, Vol 1236, Issue 3

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. Reed Kotler wrote:
I am working on getting a new compiler to work with BOOST.
I'm getting an error compilng graphviz_graph_parser.cppI am getting that "free" is undefined and the error seems legitmate but there are apparently other compilers failing due to this same problem so maybe there is something tricky here.free is wrapped so it's in std but it is not visible at the point in the code.
That was fixed 4 months ago... http://tinyurl.com/9doxw ...And is available if you use Boost 1.33.0.

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.
Reed Kotler wrote:
I am working on getting a new compiler to work with BOOST.
I'm getting an error compilng graphviz_graph_parser.cppI am getting that "free" is undefined and the error seems legitmate but there are apparently other compilers failing due to this same problem so maybe there is something tricky here.free is wrapped so it's in std but it is not visible at the point in the code.
That was fixed 4 months ago... http://tinyurl.com/9doxw ...And is available if you use Boost 1.33.0.
-- -- 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

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
participants (2)
-
Reed Kotler
-
Rene Rivera