 |
Discussion Forum |
 |
|
|
Inline function in c
Next Thread | Thread List | Previous Thread
Start a Thread | Settings
| Details |
Message |
|
Read-Only
Author Donald koh
Posted 6-Jul-2012 05:03 GMT
Toolset C51
|
 Inline function in c
Donald koh
Hello,
Is anybody knows inline function supported in keil in c?
Please advise if there any alternative to do inline function?
or is there any jump function in keil c as I have a program
written that branched to to many function and it stops working.
Thanks.
|
|
|
Read-Only
Author Erik Malund
Posted 6-Jul-2012 17:59 GMT
Toolset C51
|
 plenty
Erik Malund
Please advise if there any alternative to do inline
function?
plenty, just study "coding techniques"
what do you hope to gain by using inline in a program that stop
working for reasons unknown to you, do you think inline magically
removes bugs?
branched to to many function and it stops working.
check your stack (size)
Erik
|
|
|
Read-Only
Author Andrew Neil
Posted 6-Jul-2012 19:09 GMT
Toolset C51
|
 RE: Is anybody knows inline function supported in keil in c?
Andrew Neil
There is no such thing as "Keil C" - Keil have a number of
different C Compiler products, and the answer differs depending on
the specific product.
As ever, the answer to such questions will be found in the
compiler Manual
AFAIK, Keil C51 does not support inline functions - but check for
yourself in the compiler Manual: http://www.keil.com/support/man/docs/c51/
"I have a program written that branched to to many function and
it stops working"
So you need to do some proper analysis and debugging to
determin the precise reason...
|
|
Next Thread | Thread List | Previous Thread
Start a Thread | Settings
|
|
|