-----Original Message----- From: ros-dev-bounces@reactos.com [mailto:ros-dev-bounces@reactos.com] On Behalf Of Alex Ionescu Sent: 28. maj 2005 22:25 To: ReactOS Development List Subject: Re: [ros-dev] RBuild woes...
Casper Hornstrup wrote:
I'm sure Thomas will come screaming when he sees this :)
I don't use it myself, but because of gcc's stupidity, it does not detect uninitialized variables unless you optimize. What this means is that we're all merrily working on DBG = 1, and when it's release time, optimizations are turned on and everything breaks because uninitialized variables are detected. Plus, it's actually a good thing to find them, because it makes finding bugs easier. So OPTIMIZED was created to allow -Os to be used even if it's a debug build, so that such errors can be detected.
So it's actually a source of eliminiating build errors. But, personally, I don't use it, and only Thomas begged me for it...
Best regards, Alex Ionescu
So always build with optimization.
Casper