#include <stdio.h> int main(void) { volatile uint16_t *testarray; return 0; }
Standard input is empty
prog.c: In function 'main':
prog.c:4:11: error: unknown type name 'uint16_t'
volatile uint16_t *testarray;
^
prog.c:5:18: error: 'uint16_t' undeclared (first use in this function)
testarray = (uint16_t *) malloc (sizeof (uint16_t) * 15);
^
prog.c:5:18: note: each undeclared identifier is reported only once for each function it appears in
prog.c:5:28: error: expected expression before ')' token
testarray = (uint16_t *) malloc (sizeof (uint16_t) * 15);
^
prog.c:4:21: warning: variable 'testarray' set but not used [-Wunused-but-set-variable]
volatile uint16_t *testarray;
^
Standard output is empty