|
Boost Users : |
Subject: Re: [Boost-users] Problem with exception and property tree in 1.41.0.
From: Jakub Herkel (j.herkel_at_[hidden])
Date: 2009-11-23 03:31:57
Thanks for your responses, they were very helpful for me.
jakub
-----Original Message-----
From: Daniel James <daniel_james_at_[hidden]>
Reply-to: boost-users_at_[hidden]
To: boost-users_at_[hidden]
Subject: Re: [Boost-users] Problem with exception and property tree in
1.41.0.
Date: Thu, 19 Nov 2009 17:58:17 +0000
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 mailing list
Boost-users_at_[hidden]
http://lists.boost.org/mailman/listinfo.cgi/boost-users
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