> If your coding style is so terrible that different modules can get
> different declarations for a function from different places then you
> probably have problems of epic proportions already.

Thanks for your insight into my coding style :) but fortunately or
unfortunately, it's not my code I am porting.
And even in well written code, there are sometimes prototype declarations
that are duplicated. For example, take a look at the header files for Visual
C++. Or if you want to blame that on poor Microsoft coding, look at the gcc
header files. You'll find some prototypes duplicated, malloc for instance.
The compiler will catch errors if the duplicates differ in their parameter
or return types, but NOT if their section attributes differ.

/Ashok




-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palm.com/devzone/mailinglists.html

Reply via email to