How to get implicit parameter-declaration warning

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

How to get implicit parameter-declaration warning

2,629 次查看
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
标签 (1)
标记 (1)
0 项奖励
回复
2 回复数

1,116 次查看
Frelon
Contributor I
Hi CrasyCat, thank you, that works!
 
Frelon
0 项奖励
回复

1,116 次查看
CrasyCat
Specialist III
Hello
 
  In the "C/C++ Language " panel, check the "Require Function Prototypes" box.
 
CrasyCat
0 项奖励
回复