It works fine with gcc. However, you might want to initialize the entire array to 0 using a memset.
Smita On Mar 21, 10:23 pm, "Book'em Dano" <[email protected]> wrote: > Can someone please confirm whether it's safe to initialize a POD > struct using: > > MyStruct blat = {0}; > > with gcc on Linux/Mac? I know this works fine with the VC compiler, > but I dont have gcc handy. > > Thanks, > D --~--~---------~--~----~------------~-------~--~----~ Chromium Developers mailing list: [email protected] View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev -~----------~----~----~----~------~----~------~--~---
