LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

What compiler does LabWindows use (specifically 2017 and 2020)?

The product information for LabWindows only says "optimizing C compiler" with no details that I could find.

 

What is the compiler being used in LabWindows/CVI 2017 and what is in 2020?

 

Bing CoPilot claimed "Microsoft Visual C++" was being used for 2017, and "CLANG" was used in 2020. All I know is I can use "#pragma GCC ..." escapes in my 2017, which made me think it was GCC, but when I tried to build the code in GCC it did not recognize several of those.

 

Thanks, much.

0 Kudos
Message 1 of 3
(202 Views)

It is clang version 3.3 since CVI 2015. Yup, that's ancient now.

You can use "#pragma clang ..." to control a few things.

0 Kudos
Message 2 of 3
(192 Views)

Ah, knowing what to search for helped me find this official NI page about what compiler they use:

 

https://www.ni.com/docs/en-US/bundle/labwindows-cvi/page/cvi/programmerref/labwindowscvicompiler.htm 

 

Wow. 3.3. Clang is up to 19???

 

https://releases.llvm.org/ 

0 Kudos
Message 3 of 3
(143 Views)