This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Need help with function inlining

All:

I have a function that is defined in a utilities file that I would like to inline in an application file. Here is the error setup:

Application.cpp           Utilities.cpp

...

function()                     inline function()

...                                 {

                                    }

Error - undefined symbol in Application.cpp - #10234-D unresolved symbols

 

If I move the function to be inlined out of my Utilities.cpp and into the Application.cpp, it works...

Application.cpp             Utilities.cpp

...

function()

...

inline function()

{

 

}

No errors!

However, we do not want to have to do this. Is there a way to do this so I do not have to move the function to be inlined into the file that will call it?

processor:  C6713

CGT: 7.4.6

CCS 5.5