#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: | 113 |
Nodes: | 8 (1 / 7) |
Uptime: | 88:47:33 |
Calls: | 2,500 |
Calls today: | 1 |
Files: | 8,670 |
Messages: | 1,916,154 |