How to get implicit parameter-declaration warning

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How to get implicit parameter-declaration warning

2,613件の閲覧回数
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,100件の閲覧回数
Frelon
Contributor I
Hi CrasyCat, thank you, that works!
 
Frelon
0 件の賞賛
返信

1,100件の閲覧回数
CrasyCat
Specialist III
Hello
 
  In the "C/C++ Language " panel, check the "Require Function Prototypes" box.
 
CrasyCat
0 件の賞賛
返信