LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Compiler Bug: (0x228360 == 0) was TRUE!!

A compiler (or debugger) bug has been found.  Please see the attached screenshot of a watch window.  In the window, there is a variable Tasr_Vi.  It has a value of 0x228360.  This variable was compared against 0 in an if statement, and the comparison returned true!
 
if (Tasr_Vi == 0)  // Tasr_Vi currently has a value of 0x228360
{
/* BUG: We got here!! */
}
This is clearly either a compiler bug, or a debugger bug, or a combination of both of them.  It is not possible that there is no compiler bug and no debugger bug.  Zero is only equal to 0x228360 for very large values of zero.
 
We can make code available to NI so that you can duplicate this bug, and fix it.  When can you have the bug fixed?
 
Thank You,
Ken Hendrickson
Harris Corp.
 
 
0 Kudos
Message 1 of 2
(2,530 Views)
Hello,
 
This seems to be a repost.  Please see the comments in the following thread.
 
Thanks.
Wendy L
LabWindows/CVI Developer Newsletter
0 Kudos
Message 2 of 2
(2,511 Views)