what does this compiler warning (Borland) mean?:
"Functions containing ---- are not expanded inline"
where '----' could be 'for', 'do', 'if'...
what does this compiler warning (Borland) mean?:
"Functions containing ---- are not expanded inline"
where '----' could be 'for', 'do', 'if'...
IIRC: When compiled, some functions can be generated as "inline code" meaning that in assembler terms, the code doesn't perform a branch to execute the function. Instead, the function code is replicated and follows on in sequence from where it would have been called. This saves the overhead of calling the function and returning from it.
Your warning message is saying that the function in question will not become "inline", and therefore some optimisation is lost.
When all else fails, read the instructions.
If you're posting code, use code tags: [code] /* insert code here */ [/code]