At 2:39 PM -0700 5/18/01, John Stephenson wrote:
>I am building several PalmOS libs for linking into a prc at a later 
>time.  They are all working fine except for one of them.  When I 
>disassemble the lib the funcs in question are missing.  If I change 
>the name of one of the missing funcs, even just add/remove one 
>letter, they suddenly appear in the disassembly.  But when I change 
>the name back it disapears again!  What in the world could it be. 
>ANY ideas would be GREATLY appreciated ! ( I'd like to keep as much 
>of my hair intact as possbile ..... ;)

I have no idea what could be causing this problem.  I'd probably have 
to see the project.  But here's a wild-a** guess: is the function 
declared inline anywhere?  By changing its name, perhaps you're 
changing whether or not it's inlined.  For example, the following 
results in no "fred" function in my object file:

inline void fred (void);
void fred (void)
{
}

However, the following does include a "fred2" function:

inline void fred (void);
void fred2 (void)
{
}
-- 

-- Keith Rollin
-- Palm OS Emulator engineer

P.S. Check out the new e-mail address.  [EMAIL PROTECTED] will work 
for a while, but anyone mailing me needs to update to the new one 
eventually.

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