How to get implicit parameter-declaration warning

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to get implicit parameter-declaration warning

1,895 Views
Frelon
Contributor I
Hi, I started a project with ColdFire products. In my program, when I call a function which the source file is not "#included" in the caller's file, no error or warning appears when I compile and link.
Previously, I programmed with Codewarrior for HCS08 and also HC12 and when a situation like that happened, the linker show a warning : Warning C1801: implicit parameter-declaration.
Is there a way to enable that feature in Codewarrior for ColdFire ? (I use Codewarrior for ColdFire Architectures, version 7.0, build 15).
It will save me a lot of debugging!!
Thanks,
Frelon
Labels (1)
0 Kudos
2 Replies

382 Views
Frelon
Contributor I
Hi CrasyCat, thank you, that works!
 
Frelon
0 Kudos

382 Views
CrasyCat
Specialist III
Hello
 
  In the "C/C++ Language " panel, check the "Require Function Prototypes" box.
 
CrasyCat
0 Kudos