#include <stdint.h>
int main(void) {
unsigned char* p;
unsigned char* q;
int64_t value;
p = q - value; // line 8
}
I get these errors:
Error c.c: 8 operands of - have illegal types 'pointer to unsigned
char' and 'long long'
Error c.c: 8 operands of = have illegal types 'pointer to unsigned
char' and 'int'
Is there something wrong with the code, or is it a compiler bug?
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 295 |
Nodes: | 16 (2 / 14) |
Uptime: | 10:02:44 |
Calls: | 6,644 |
Calls today: | 4 |
Files: | 12,190 |
Messages: | 5,326,484 |