I have a function like:
int Foo()
int Foo()
{
return 1;
}
In one of the other source files, I refer to the function as:
int aninteger;
result = Foo(aninteger);
This code compiles without warning. Any idea why? How to set up visual studio to warn about inconsistencies of arguments during function calls?
CS_EE source
share