Codewarrior 10.3
When caller call a callee, the callee was not defined, the compiler result does not generate error.
How to change compiler setting to when callee was not defined, the compiler will generate error.
Example:
int main()
{
foo();
}
the compiler will not generate error message.
Leslie
Solved! Go to Solution.
Hello
Go to the ARM Compiler > Language page and check the Require Function Prototypes edit box.
CrasyCat
Hello
Which MCU are you targeting (HCS08, ColdFire, Kinetis, ...)?
CrasyCat
Dear Catherine,
NK60DN512
100MHz
mask 2N22D
Here is the snapshot of settings.
Leslie
Hello
Go to the ARM Compiler > Language page and check the Require Function Prototypes edit box.
CrasyCat
Dear Catherine,
it works!
Thank you.
Leslie