Quantcast
Channel: LabWindows/CVI topics
Viewing all articles
Browse latest Browse all 5339

intmax_t and uintmax_t definition

$
0
0

This one is more tricky, as I can't do much as far as the code goes.

LabWindows/CVI 2017, I have this code compilation error:

In file included from p:\3. Engineering\3. R&D\70. OCT-MV\3. Development\2 Work\software development\C code\LabWindowsCVI\FASTTEST_GUI\macros.h:5:

"ansi_c.h"(31,1) In file included from c:\program files (x86)\national instruments\cvi2017\include\ansi_c.h:31:

"inttypes.h"(241,1) error: unknown type name 'intmax_t'

 

In inttypes.h the intmax_t and uintmax_t typedefs are used. They both produce this error.

intmax_t and its unsigned sibling are declared in stdint.h, though, and stdint.h is included both in ansi_c.h just before inttypes.h, and in inttypes.h itself!

So, why can't I have them acknowledged in my source code?

 


Viewing all articles
Browse latest Browse all 5339

Trending Articles