Boost logo

Boost Users :

Subject: Re: [Boost-users] Problem with exception and property tree in 1.41.0.
From: Daniel James (daniel_james_at_[hidden])
Date: 2009-11-19 12:58:17


2009/11/19 Daniel James <daniel_james_at_[hidden]>:
> Sorry ignore that patch. I'll take another look at it when I get home.

Sorry about the duplicate mail. I lost my connection and I thought I
hadn't sent it.

The problem is that gcc 3.2 doesn't support explicit member template
calls. A more recent version will be okay. It would be possible to get
this to work by adding an extra method in rapidxml's exception class
that returns a void pointer to the error and then casting that result
to the appropriate pointer. Although that might not be appropriate as
I think it's written by a third-party. An inferior alternative is the
patch I've attached which just gives a line number of 0 for the parse
error when member templates aren't supported. It's up to the Sebastian
Redl if he wants to fix this, he'd be justified in not doing so since
the compiler is very old.

Daniel




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