LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Producing warnings when cvi function parameters do not match function prototypes

Is there a function prototype in cvi code which would generate an error/
warning that my parameters do not match those of the function prototype. I
am using MSVC 6 for development.

Ed Manlove
ecm@dspcon.com
0 Kudos
Message 1 of 2
(2,803 Views)
There is a parameter in the Options>>Build Options menu that do that : check "Require fonctions prototype".
I think that a function can't do that because you have to check that during the compilation. If you want to check parameters at the run time ( like , scanf function ) you have to do by yourself inside the function.
0 Kudos
Message 2 of 2
(2,803 Views)