On Friday 23 January 2004 14:51, Dave Serls wrote:
> A segment fault for bbappconf when compiled with gcc3xx may be avoided by
> initializing the pointer "frame.font = NULL;"  in the Resource constructor
> (is that the right terminology?) just prior to the 'Load()'.
> This looks like a re-visit of a similar problem with bbweather.
> Are pointers in new instantiation not set to NULL automagically by
> gcc3xxx?
>

A new pointer has an unknown value.  NULL (which is now 0 in common C++ usage) 
means "I point to nothing".


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
List archives:  http://asgardsrealm.net/lurker/splash/index.html
Trouble? Contact [EMAIL PROTECTED]

Reply via email to