When I try to declare either a unsigned long long
or a uint64_t
the xc8
compiler throws the following warning:
12: uint64_t overflow_time;
^ (374) missing basic type; int assumed (warning)
^ (314) ";" expected
^ (374) missing basic type; int assumed (warning)
This eventually spirals into an error later in the compilation. Through some research I found that when using the default C90 standard the xc8
compiler doesn't support 64-bit datatypes.
The best solution I could find online was "Upgrade to XC8 2.05" - which I already had.
How can I get the compiler to allow me to use 64 bit datatypes?