Actually what you've told me here will fix the issue. Since I wasn't really sure if you were relying on some boost mechanism that was previously vague or if the gcc people made things more strict since I've never even seen the error before in anything using the exception class.

All that's necessary then to fix it in all the instances it pops up is to specify std::exception and the code compiles cleanly from there.

bert hubert wrote:
Hi everybody,

On Sun, Jul 5, 2009 at 11:44 AM, Roger Libiez<[email protected]> wrote:
PDNS-Recursor version 3.1.7 from the download page. I'm unaware of there
being anything newer.

If the RPM package is any indication, it's Boost 1.37.

3.1.7 indeed does not compile with Boost 1.37 or higher, since they
started including an 'exception' class too.

The current subversion version of PowerDNS is compatible with Boost
1.37+, but no releases are. In the meantime, please use an older
boost, or if you are feeling adventurous, run the snapshot on:

http://svn.powerdns.com/snapshots/pdns-recursor-3.1.8-pre1.tar.bz2

The problem is not in the compiler.

    Bert


--
Arthmoor MUD Hosting Services: http://www.arthmoor.com/
_______________________________________________
Pdns-users mailing list
[email protected]
http://mailman.powerdns.com/mailman/listinfo/pdns-users

Reply via email to