LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

No compilier warning

In my code I have the following and I expected the compilier to give an error/warning , WHY didn't it flagged an error?

 

char a = 1024;

0 Kudos
Message 1 of 2
(3,179 Views)

Hello Dave,

 

What version of CVI are you using.
If you are using 2013 or higher you can configure the warnings you get from Options->Build Options->Warning level or if you want more customization you can use the  "..." button next to the warning level ring.

For your code you have to have Constant conversion warning enabled in level AllConstant conversion.png

 

Constantin

 

0 Kudos
Message 2 of 2
(3,139 Views)