Here is a good description of inline functions and how they work in the
Sun Studio C compiler. It was written by Douglas Walls, the C compiler
project lead.
http://blogs.sun.com/dew/entry/c99_inline_function
It should answer your questions.
--Dave
Basabi Bhattacharya wrote:
> Using SunStudio
Using SunStudio12 on OpenSoalris 128a and get error (ld: fatal: symbol
referencing errors. No output written to a.out) using inline function. For
inline function to work why do we need optimization -x03 (-O)?
Thanks for the help.