On Thu, 15 Nov 2001, John Marshall wrote: > > actually.. this bug has been around for a while :) i believe it > > is actually a bug in the way prc-tools compiles :P > > It is not a bug in prc-tools. Aaron, I wish you wouldn't post FUD like this!
it used to work.. it doesn't work now.. that "feature" broke = bug. :) just terminology man.. (/me thinks john woke up bad side of bed today) > > old 0.5.0 prc-tools uses to handle enumarations.. but, the new > > stuff 2.0+ doesn't :) > > Putting an enumeration constant in a SYS_TRAP-style macro has always > been undefined behaviour. The version of GCC in prc-tools 0.5.0 was > able to support this functionality, but the version (3.x) in future > prc-tools versions cannot. A reasonable implementation is simply not > possible. If it were possible, don't you think I would have done it > rather than cause all this trouble?! sure.. of course if it was easy, it would be there *g* <snip rambling about prc-tools internals> anyhow... the fix is to use #define's :) which, is what most are doing. > > gotta always update the header files i get from people due to this > > (sony, printboy libs, gamepad driver) etc.. its a pain in the ass. > > when will it be fixed john? *g* it used to work a long time ago :P > > I don't know when it will be fixed. I don't distribute Sony, printboy, > or gamepad SDKs. Perhaps you should contact their authors, and > encourage them to fix the invalid constructs in their SDKs. It is a > very simple fix to make. nah... can always use your perl script now :) the gamepad and printboy changes i sent back to authors.. and, they'll be put in.. so, i do my part. > Or, if this pains you so much, I invite you to rewrite GCC so that the > values of enumeration constants are available early in the compiler. It > will be hard to get right when the identifier appears in multiple scopes > (e.g. namespaces), but I eagerly await your patches. nah.. that's your job :) > BTW in English, even in Australia, it's polite to capitalise a person's > name. in the land of the internet, capitalization means shouting.. now, if i was mad at you, i'd used John :P you know me better than that :) so, meet you in oslo for a beer? // az [EMAIL PROTECTED] http://www.ardiri.com/ -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
