inline functions - mail...@web.de - Jun 3 8:00:26 2008
Hello!
I'm new to CCS, so please do not deal severely with me ;)
The problems occurs when I try to inline functions. Allways I do so, there is the warning
"function was declared but never referenced" from the declaration and an
"undefined symbol" error from calling.
If inline is removed everything works fine.
The other thing is that "inline" is even not printed bold in source file, but in
header file it is.
Testet in New installation of CCS 3.1 and 3.3.
Thanks for help!
------------------------------------
OMAP35x EVM jump-starts low-power apps
------------------------------------
The modular and extensible OMAP35x Evaluation Module (EVM) enables developers to start building
applications based on the OMAP35x architecture:http://www.DSPRelated.com/omap35x

(You need to be a member of code-comp -- send a blank email to code-comp-subscribe@yahoogroups.com )
Re:inline functions - Simon Boucher - Jun 4 17:52:31 2008
Hi,
I've tried many times to define inline functions within a C source file,
and to declare them within a header file to use it in another source
file, but it was not possible. The only way I could define public inline
functions was within a header file. It is maybe possible do define it
within a C file, but you would have to use it within the same file. I
think the compiler interprets the inline function like a #define.
Simon
------------------------------------
OMAP35x EVM jump-starts low-power apps
------------------------------------
The modular and extensible OMAP35x Evaluation Module (EVM) enables developers to start building
applications based on the OMAP35x architecture:http://www.DSPRelated.com/omap35x

(You need to be a member of code-comp -- send a blank email to code-comp-subscribe@yahoogroups.com )