...
In this noncompliant example, the function f()
is defined to take an argument of type long
, but f()
is called from another file with an argument of type int
:
...
In this compliant solution, the prototype for the function f()
is included in the scope source file in the source file scope of where it is usedcalled, and the function f()
is correctly called with an argument of type long
:
...