I am having some difficulty converting a 3.1 app to 3.5. After changing to
the latest data types, I am getting compiler errors like the following:
Error : ')' expected
starter.c line 144 static Int16 IsBadRegistration( CharPtr regCode );
-- 'regCode' is underlined.
Error : illegal function definition
starter.c line 145 static UInt16 CountChar( Char ch, LINE L );
-- 'CountChar' is underlined.
Error : illegal use of direct parameters
starter.c line 146 static Boolean DoPenDown( FormPtr frmP, EventPtr
eventP );
-- 'static' is underlined.
These functions used to be defined as:
static Int IsBadRegistration( CharPtr regCode );
static UInt CountChar(Char ch, LINE L);
static Boolean DoPenDown( FormPtr frmP, EventPtr eventP ); // no change here
Any ideas about what is wrong here?
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palm.com/devzone/mailinglists.html