jovi zhang writes:
> Does gcc compiler support enumeration print support? what I means
> is like this:
>
> typedef struct {
> int ttype ;
> intt index ;
> } unit_it_t ;
>
> unit_it_t f_unit;
>
> GCC_PRINT(f_unit);
>
>
> Then compiler will print all filed of f_unit data structure automa
Hi,
Does gcc compiler support enumeration print support? what I means
is like this:
typedef struct {
int ttype ;
intt index ;
} unit_it_t ;
unit_it_t f_unit;
GCC_PRINT(f_unit);
Then compiler will print all filed of f_unit data structure automatic,
no need to let programmer print f_u