Right after sending the mail I found it :-/
I've been missing a semicolon in an  earlier included file...

Thanks anyway, David.

Am 24.08.2009 um 14:18 schrieb David:

Hi,

can someone please tell me why I get this error:

../../dsr/dsrPacket.h:16: two types specified in one empty declaration

from this code:

nx_struct dsrOptionsHeader {
        nx_uint8_t nextHeader;
        nx_uint8_t flagF:     1;
        nx_uint8_t reserved:  7;
        nx_uint8_t payloadLength;
};      // <-- This is line 16 from the error message

Maybe I'm just tired but I really can't see why the compiler is complaining...

Thanks, David.

_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to