I am using VC2010, trying to compile some library written in C99 for Linux. The following line gives error C2275: 'uint8_t' : illegal use of this type as an expression
uint8_t * G = (uint8_t*)calloc(N ,sizeof(uint8_t));
subhint: stdint.h(21) : see declaration of 'uint8_t', and that line is:
typedef unsigned char uint8_t;
and then come the accumulated problems: error C2065: 'G' : undeclared identifier etc. What is illegal here?