[Spirit, shared_ptr] Broken due to last changes.

Hi ! The lastest changes to Boost.SharedPtr seem to have broken spirit compiliation. I get: boost/boost/spirit/core/non_terminal/impl/grammar.ipp:232: error: 'make_shared' is not a member of 'boost' /boost/boost/spirit/core/non_terminal/impl/grammar.ipp:234: error: 'make_shared' is not a member of 'boost' I think that Peter Dimov removed "make_shared" from weak_ptr.h. Could someone with more insight in both libs fix this ? Yours, Jürgen -- * Dipl.-Math. Jürgen Hunold ! Ingenieurgesellschaft für * voice: ++49 511 262926 57 ! Verkehrs- und Eisenbahnwesen mbH * fax : ++49 511 262926 99 ! Lister Straße 15 * juergen.hunold@ivembh.de ! www.ivembh.de * * Geschäftsführer: ! Sitz des Unternehmens: Hannover * Prof. Dr.-Ing. Thomas Siefer ! Amtsgericht Hannover, HRB 56965 * PD Dr.-Ing. Alfons Radtke !

Jürgen Hunold wrote:
Hi !
The lastest changes to Boost.SharedPtr seem to have broken spirit compiliation. I get:
boost/boost/spirit/core/non_terminal/impl/grammar.ipp:232: error: 'make_shared' is not a member of 'boost' /boost/boost/spirit/core/non_terminal/impl/grammar.ipp:234: error: 'make_shared' is not a member of 'boost'
I think that Peter Dimov removed "make_shared" from weak_ptr.h. Could someone with more insight in both libs fix this ?
make_shared(x) is an old and obsolete spelling for x.lock(). The code in grammar.ipp is very odd, though; I'll let someone more familiar with it make the change or maybe clean it up a bit.

Peter Dimov wrote:
Jürgen Hunold wrote:
Hi !
The lastest changes to Boost.SharedPtr seem to have broken spirit compiliation. I get:
boost/boost/spirit/core/non_terminal/impl/grammar.ipp:232: error: 'make_shared' is not a member of 'boost' /boost/boost/spirit/core/non_terminal/impl/grammar.ipp:234: error: 'make_shared' is not a member of 'boost'
I think that Peter Dimov removed "make_shared" from weak_ptr.h. Could someone with more insight in both libs fix this ?
make_shared(x) is an old and obsolete spelling for x.lock(). The code in grammar.ipp is very odd, though; I'll let someone more familiar with it make the change or maybe clean it up a bit.
That would be me. I removed make_shared from the code. Regards, m

Hi Martin ! On Dienstag 10 April 2007, Martin Wille wrote:
Peter Dimov wrote:
make_shared(x) is an old and obsolete spelling for x.lock(). The code in grammar.ipp is very odd, though; I'll let someone more familiar with it make the change or maybe clean it up a bit.
That's the reason why I did not try it myself ;-))
That would be me. I removed make_shared from the code.
Thanks for the quick fix ! Yours, Jürgen -- * Dipl.-Math. Jürgen Hunold ! Ingenieurgesellschaft für * voice: ++49 511 262926 57 ! Verkehrs- und Eisenbahnwesen mbH * fax : ++49 511 262926 99 ! Lister Straße 15 * juergen.hunold@ivembh.de ! www.ivembh.de * * Geschäftsführer: ! Sitz des Unternehmens: Hannover * Prof. Dr.-Ing. Thomas Siefer ! Amtsgericht Hannover, HRB 56965 * PD Dr.-Ing. Alfons Radtke !
participants (4)
-
Juergen Hunold
-
Jürgen Hunold
-
Martin Wille
-
Peter Dimov