Hello,i have a problem with the CS+ for CC IDE.I wanted to run some sample code by initializing a variable like uint8_t test = 5.Sadly, the IDE says that it can't find this datatype, even after the include of stddef.h.My error message reads: E0520020: Identifier "uint8_t" is undefinedI hope someone can explain to me where my error is.Thanks
uint8_t is NOT defined in stddef.h
uint8_t (and other uint definitions) are included in stdint.h
Would you mind telling us which compiler version you use? Have you checked stdint.h includes the definition you are looking for? Have you checked that the compiler can open the include file (e.g. by inserting…
i've included both but still got the same error...