Thanks ikegami but that didn't fix the problem. I'm really freaked out by this cause I'm convinced that I'm doing something wrong but can't figure it out. Anyway, right now I'm just going to hide the warnings and get on with life. I hate doing this but I don't have much choice.
Thanks for replying.
Re^2: Pesky warnings after calling Win32 API
Replies are listed 'Best First'.
Your welcome. I'd say it's more a bug in the documentation of Struct.pm than in Struct.pm itself, although it's definitely a failing that fields that don't need to be initialized aren't -w friendly. It would be so easy for everything to be set to 0 by default or to silently treat undef as 0.