This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

__attribute__ ((pack)) for F28335 with CCS

Hi everyone,

I want to use #pragam pack() for byte align to structure. As I know and someone posted to forum gcc compiler can support this, __attribute__ ((pack))

For example,

typedef struct
{
 int itemp;
 long ltemp;;
 float ftemp;
}__attribute__ ((pack)) sttemp;

But the compiler displays error message. Could you tell me whether CCS can support 'PACK' and how to use it in detail?

Regards.

Isidore Ryu