07-06-2014 02:45 PM - edited 07-06-2014 02:47 PM
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?
Solved! Go to Solution.
07-06-2014 03:18 PM
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...
07-06-2014 03:21 PM
I didn't turn on Buld with C99 extensions. Now seems it solved that particular problem. Thanks!
07-06-2014 03:34 PM
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.
07-06-2014 03:40 PM
If your question has been answered, please mark the respective post as answer.
For new questions please open a new thread, thanks.
07-06-2014 03:59 PM
unsigned __int64 should work without C99 (since CVI 7); C99 extensions are only needed for uint64
07-06-2014 04:43 PM
Thank you!
07-07-2014 12:32 AM
you're welcome