On Fri, Aug 08, 2003 at 05:35:16PM +0200, Martin Costabel wrote:

Gak.  There's no quick workaround that I'm aware of.  The Scribus folks
are relying on undefined behavior and we're stuck with the results.
The only solutions I'm aware of both involve patching Scribus.  You
can either modify the routines in question so that they don't access
static objects from other compilation units (that may, and probably will,
include not calling methods in other compilation units which themselves 
might depend on static objects), or you can make certain the routines
don't get called until after main() starts.


> int crash1(){ 
>   std::cout << "\n This is crashtest No 1\n";
>   QString Crash1 = QString::null; 
> }

Just a note:  you not only have to worry about QString::null here, but
std::cout as well.  I've seen at least one platform choke and die on 
just such code (MSVC/Windows, I think).  Just part of what makes 
cross-platform programming so much fun.


 - Dave



-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to