Chintvan_variya
Newbie
Hi All,
I'm using Keil IDE. I observed that the compiler taking extra mamory spaces for bool and char variable.
Is there any setting in the IDE to disable this?
Below workaround is not working:
1) #pragma pack(1)
2) __attribute__((packed))
3) And it's very difficult to alignment the membors of structue. Bcz This strucure has many nested strcture and enums.
Any solution of above issue?
I'm using Keil IDE. I observed that the compiler taking extra mamory spaces for bool and char variable.
Is there any setting in the IDE to disable this?
Below workaround is not working:
1) #pragma pack(1)
2) __attribute__((packed))
3) And it's very difficult to alignment the membors of structue. Bcz This strucure has many nested strcture and enums.
Any solution of above issue?