The rule is that, within each source code file, that all functions in the main section must be defined before any functions in another section.
(If you have three or more sections, I think putting functions in two non-main sections in the same source code file is also asking for trouble.) See http://prc-tools.sourceforge.net/doc/prc-tools_3.html#SEC18 On Feb 1, 2007, at 2:09 PM, [EMAIL PROTECTED] wrote:
Pinus, Perhaps I do not entirely understand the process of splitting the code into sections. Right now, all my code is in one file, ClueHints.c. That's where I define the HANDLER_SECTION macro and where I declare and then define all the functions, some of which are now declared with the macro to put them in the new handlers section and some of which are not. You mention accessibility from another file, so should I be using a separate .c file to do some of this work, or should any of this be in a .h file? I apologize if I sound confused, but I have been using CodeWarrior for a long time before trying to do this port. I tried removing the static label from the form handlers' function declarations and definitions within ClueHints.c (I didn't remove it from the other functions I intended to leave in the main section - should I?), but I got the same errors. Thanks again for your help, Martin
-- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
