Quantcast
Channel: Tools
Viewing all articles
Browse latest Browse all 91752

Forum Post: RE: Inline Function usage in other c-file

$
0
0

Hi Stefan,

Did you try go through that link at SPRU514F?

6.15 GNU Language Extensions
The GNU compiler collection (GCC) defines a number of language features not found in the ANSI/ISO C
and C++ standards. The definition and examples of these extensions (for GCC version 4.7) can be found
at the GNU web site, http://gcc.gnu.org/onlinedocs/gcc-4.7.2/gcc/C-Extensions.html#C-Extensions.
Most of these extensions are also available for C++ source code.

Through above link you can find "Inline" link http://gcc.gnu.org/onlinedocs/gcc-4.7.2/gcc/Inline.html#Inline

I have tried to apply this with -gcc option and I nave called the function inc(int* a) within another file, but C28x compiler (6.1.0) has generated an error message:

unresolved symbol _inc :-(

at the same time the function body is displayed by CCS editor when the cursor is on the function call. 

Maybe TI employees will clarify this issue...

Regards,

Igor


Viewing all articles
Browse latest Browse all 91752

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>