[Spirit + Graph] Request for help!

The new GraphViz parser in the Graph library is implemented as an ultra-slick Spirit grammar from Ron Garcia. It works fine on newer versions of GCC and EDG, but Visual C++ 7.0 completely croaks with an internal compiler error. I've moved around code, eliminated some templates from the equation, etc., but I don't have a feel for how to fix the compiler, especially when Spirit is concerned. Are there any Spirit jockeys that could give me a few hints on how to deal with this or, better yet, get it working on VC 7.1? Cheers, Doug

Doug Gregor wrote:
The new GraphViz parser in the Graph library is implemented as an ultra-slick Spirit grammar from Ron Garcia. It works fine on newer versions of GCC and EDG, but Visual C++ 7.0 completely croaks with an internal compiler error. I've moved around code, eliminated some templates from the equation, etc., but I don't have a feel for how to fix the compiler, especially when Spirit is concerned.
Are there any Spirit jockeys that could give me a few hints on how to deal with this or, better yet, get it working on VC 7.1?
I can give it a shot. But I'm confused: 7.0 or 7.1? Cheers, -- Joel de Guzman http://www.boost-consulting.com http://spirit.sf.net

On Apr 20, 2005, at 8:11 PM, Joel wrote:
Doug Gregor wrote:
The new GraphViz parser in the Graph library is implemented as an ultra-slick Spirit grammar from Ron Garcia. It works fine on newer versions of GCC and EDG, but Visual C++ 7.0 completely croaks with an internal compiler error. I've moved around code, eliminated some templates from the equation, etc., but I don't have a feel for how to fix the compiler, especially when Spirit is concerned. Are there any Spirit jockeys that could give me a few hints on how to deal with this or, better yet, get it working on VC 7.1?
I can give it a shot. But I'm confused: 7.0 or 7.1?
Oh, sorry; typos abound. 7.1 is all that really matters. Thanks for taking a look! Doug

Douglas Gregor wrote:
On Apr 20, 2005, at 8:11 PM, Joel wrote:
Doug Gregor wrote:
The new GraphViz parser in the Graph library is implemented as an ultra-slick Spirit grammar from Ron Garcia. It works fine on newer versions of GCC and EDG, but Visual C++ 7.0 completely croaks with an internal compiler error. I've moved around code, eliminated some templates from the equation, etc., but I don't have a feel for how to fix the compiler, especially when Spirit is concerned. Are there any Spirit jockeys that could give me a few hints on how to deal with this or, better yet, get it working on VC 7.1?
I can give it a shot. But I'm confused: 7.0 or 7.1?
Oh, sorry; typos abound. 7.1 is all that really matters. Thanks for taking a look!
Ok. Done. Well, at least I am able to compile read_graphviz_spirit.cpp. Is that all? Cheers, -- Joel de Guzman http://www.boost-consulting.com http://spirit.sf.net

At Thursday 2005-04-21 19:40, you wrote:
On Apr 21, 2005, at 12:22 AM, Joel wrote:
Ok. Done. Well, at least I am able to compile read_graphviz_spirit.cpp. Is that all?
Thanks! VC 7.1 is up and running and I'm a happier man for it :)
I was getting buffer overrun errors when compiling that... is it now fixed? I think they've gone away. I was chasing it earlier today, but dint' see anything obvious. What was it, btw??
Doug
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
Victor A. Wagner Jr. http://rudbek.com The five most dangerous words in the English language: "There oughta be a law"

On Apr 21, 2005, at 11:38 PM, Victor A. Wagner Jr. wrote:
At Thursday 2005-04-21 19:40, you wrote:
On Apr 21, 2005, at 12:22 AM, Joel wrote:
Ok. Done. Well, at least I am able to compile read_graphviz_spirit.cpp. Is that all?
Thanks! VC 7.1 is up and running and I'm a happier man for it :)
I was getting buffer overrun errors when compiling that... is it now fixed? I think they've gone away. I was chasing it earlier today, but dint' see anything obvious. What was it, btw??
I ended up having to add /GR- to the compiler options, to turn off RTTI inside that source file. Otherwise we get buffer overrun errors from the compiler... but everything seems to work fine once we've done that. Doug
participants (4)
-
Doug Gregor
-
Douglas Gregor
-
Joel
-
Victor A. Wagner Jr.