Strange behavior with static arrays in g++

2008-05-28 Thread Dave Carrigan
Hi, I'm using GNU g++, and am declaring a static global array of button IDs, like so: const UInt16 ButtonIDs[] = { Button1, Button2, Button3 }; However, when I try to do something like FrmGetObjectIndex() using one of these array values, pose complains about object not in

Re: Strange behavior with static arrays in g++

2001-04-30 Thread David Leland
Just wondered if anyone had an answer for this? I've run into the same thing. Dave Dave Carrigan [EMAIL PROTECTED] wrote in message news:30250@palm-dev-forum... Hi, I'm using GNU g++, and am declaring a static global array of button IDs, like so: const UInt16 ButtonIDs[] = {