Uninitialized static consts

Dan Kegel dank at kegel.com
Fri Dec 28 10:57:08 CST 2007


Samuel wrote:
> I discovered a static constant wasn't initialized in RedrawWindow when I
> was using Valgrind. I wonder if this is a problem or not, because it has
> been there since 2005 and it doesn't give any compiler warnings.

static vars are located in the bss section and are initialized
to zero by the runtime loader, iirc.

Can you give more details about the error you found with
Valgrind?
- Dan



More information about the wine-devel mailing list