Hi all,
I have the following scenario:
When I am trying to write into "member_a" of the "fourmembers" structure that "limp" is pointing to like that...Code:typedef struct { u8 member_a; u32 member_d; u32 member_c; u16 member_d; } __attribute__((packed)) fourmembers; fourmembers *limp = (fourmembers*)0x1000000;
...I am getting the following error:Code:limp->member_a = 0x20;
Any help will be much appreciated!Code:error: 'fourmembers' has no member named 'member_a'
Regards