« first day (1496 days earlier)      last day (1361 days later) » 

user7659542
12:38 PM
Hello

I am trying to compile some C code and I get the following error:

In file included from /usr/msp430/include/string.h:33:0,
from /media/sf_code/myCode/sensor/buffer.h:33,
from /media/sf_code/myCode/sensor/source/captor.c:29:
/usr/msp430/include/sys/types.h: In function ‘__DATA_PTR_MEMORY_LIST1__’:
/usr/msp430/include/sys/types.h:48:23: error: storage class specified for parameter ‘u_char’
typedef unsigned char u_char;
^~~~~~

I don't really understand what the issue is. I have googled the error an most people said it might be an issue of a missing semicolomn, but as you can see in th
 
9:17 PM
@traducerad Run preprocessor over that code only, and examine the resulting code.
Currently it's just a unreadable macro barf, and after expansion it may look very different
In particular
> storage class specified for parameter ‘u_char’
but the line the error message is pointing is nowhere near a function declaration
 

« first day (1496 days earlier)      last day (1361 days later) »