[aquaria] crash :/

Mathias Panzenböck grosser.meister.morti at gmx.net
Tue Apr 26 10:00:13 EDT 2011

Yes I know, but Aquaria should be compilable with MSVCPP and with whatever compiler you use for PSP. 
So I figured I can't use C++0x. Of course replacing this reference counting smart pointer with 
another implementation that is well tested is maybe a good idea. But it's fairly simple so it should 
be good.


On 04/26/2011 06:47 AM, Jordi Gutiérrez Hermoso wrote:
> On 25 April 2011 23:31, Mathias Panzenböck
> <grosser.meister.morti at gmx.net>  wrote:
>> Ok, I fixed the seg fault by writing a very simple reference counting smart
>> pointer (SmartPtr<Type>) and using this to hold references to
>> IngredientData. :)
> Just FYI, if you're using gcc and possibly other compilers, smart
> pointers are already built into the C++0x standard, and gcc already
> implements them. No need to roll your own.
> - Jordi G. H.

More information about the aquaria mailing list