LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

uint64_t not recognized statement.

Solved!
Go to solution

When I declare variable as uint64_t, or unsigned __int64, Labwindows gives me error messages when compile.  It says unrecognized statement.  I included stdint.h and userint.h

What is missing?  

0 Kudos
Message 1 of 8
(5,449 Views)
Solution
Accepted by topic author soljiang

what is missing:

 

- what version of CVI are you using?

- do you have the Configuration Option 'Buld with C99 extensions' enabled?

- a code sample

 

For me, using CVI2013SP1, both

 

uint64_t test;
unsigned __int64 test2;

 

is working without error...

Message 2 of 8
(5,445 Views)

I didn't turn on Buld with C99 extensions.  Now seems it solved that particular problem.  Thanks!

0 Kudos
Message 3 of 8
(5,443 Views)

I wonder, what if I don't have Buld with C99 extensions enabled?  How can I declare a variable to be an unsigned 64 bit integer?  Thanks.

0 Kudos
Message 4 of 8
(5,440 Views)

If your question has been answered, please mark the respective post as answer.

 

For new questions please open a new thread, thanks.

Message 5 of 8
(5,438 Views)

 unsigned __int64 should work without C99 (since CVI 7); C99 extensions are only needed for uint64

Message 6 of 8
(5,428 Views)

Thank you!

0 Kudos
Message 7 of 8
(5,423 Views)

you're welcome Smiley Happy

0 Kudos
Message 8 of 8
(5,408 Views)