On Thu, 15 Nov 2001, Michael Glickman wrote:
> Thanks a lot, John. You are a real wizard :=)
>
> I am not a perl Guru, but J just followed your advice and
> and did a rather boring procedure of replacing
> lines under ...TrapEnum by #define ... (SysLibTrapCustom+n),
> where n is the line offset. Compiles as good as never!
>
> I wish Sony developers read your comments ...

  actually.. this bug has been around for a while :) i believe it
  is actually a bug in the way prc-tools compiles :P

  old 0.5.0 prc-tools uses to handle enumarations.. but, the new
  stuff 2.0+ doesn't :) the simple solution was to use #defines'
  instead.. and, i remember john mentioning this at palmsource 2000
  in his "tools" presentation..

  it has something to do with the way in which prc-tools does its
  pre-processing from memory.. but, i normally do something like
  this:

#ifdef __GNUC__
#define ...
#else
enum
{
};
#endif

  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
  but, i guess #define's work now..

// 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/

Reply via email to