I wrote the code below:
#define int64_t long long int
typedef long long int64_t; //this line is line 2
void main()
{
int64_t a;
}
When I complied this program, the compiler displayed an error message: in line 2, '__int64' followed by 'long' is illegal.
But the strange thing is that there is no "__int64" in my code, only "int64_t", but "int64_t" and "__int64" are spelled differently, so they are totally different variables. Yes, it is wired that an error about a variable which never appears in my code occurred. What is wrong about line 2, and how does this line cause this error?
Thank you for reading and hope to receive your valuable answers.