LabWindows™/CVI™ Does Not Throw Compile Error With Undefined Function

Updated Oct 1, 2018

Reported In

Software

  • LabWindows/CVI

Issue Details

I have an undefined function that I have declared but not fully defined. When I compile my code I expect it to throw an error but it does not. However it does throw an error when I build. Why is that?

Solution

Building is a process that includes multiple steps including Compiling and Linking. 
Compiling itself only converts the code to machine code which itself will not throw an error. However when the linking stage of building is taking place it will find and throw the error. 

WAS THIS ARTICLE HELPFUL?

Not Helpful