I gave that a try but it didn't work. The linker complained about not being able to resolve the reference to the function from the jump table. I tried "static" on both the declaration and definition, and then on each separately, with the same result each time.
I went back to the original GaussLib example (which I was able to build successfully) and added the following three lines of code to the GaussLibCreate function:
float a,b; a=2.0; b=3.0*a;
This was enough to generate the "global data ignored" message from build-prc. If I comment out the third line, the message goes away. Why would this line cause global data to be created? Arghhhh. Is it a compiler or linker switch set wrong?
It is likely that the compiler is generating the 8-byte double values for "3.0" in the data section, and the code to perform the call to the multiple routine for the assignment of 'b' is referring to these global constants.
--
Ben Combee <[EMAIL PROTECTED]>
CodeWarrior for Palm OS technical lead
Palm OS programming help @ www.palmoswerks.com
-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
