|
const A_STRUCT MM =
{
...;
};
const A_STRUCT NN =
{
...;
};
typedef struct
{
int length;
int * pdata;
A_STRUCT * gif;
} B_STRUCT;
const B_STRUCT PP [] =
{
{0, NULL,&MM},
{0, NULL,&NN}
}
This warning is reported when compiling:
{0, NULL,&MM},
{0, NULL,&NN} These two lines have the following warnings
warning: initialization discards qualifiers from pointer target type
May I ask which prawn can help me correct the mistake, thank you for pointing me out! |
|