Re: Reasonable static initialization assurance

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> >Do you know of any difference in this area with the OSX gcc?
> 
> I'm not aware if XCode 2.1 / GCC 4.0 on OS X has any particular caveats
> other than the usual suspects applicable to all platforms.

So it's probably just a memory clear value discrepency?  Some value
that the memory is "initialized" with causes a false std::string setup
and fails on an assignment.

It was amazingly consistant once it started to fail though -- we have
no idea yet why the code change caused the failure.  The code
shouldn't have been like that anyway, but not knowing what caused thee
memory failure is a pain :)

corey


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux