[hatari-devel] How to remove this warning ?
Laurent Sallafranque
laurent.sallafranque at free.fr
Sat Aug 22 12:11:53 CEST 2009
Hello,
In my xxx.h , I've written :
typedef struct hd6301_opcode_t {
Uint8 op_value; /* Opcode value */
Uint8 op_bytes; /* Total opcode bytes */
void (*op_func)(void); /* Function that "executes" opcode */
Uint8 op_n_cycles; /* Number of clock cycles */
const char *op_mnemonic; /* Printout format string */
void (*op_func_disasm)(void); /* Function that "executes"
disasm opcode */
};
When I compile, I've got the following message :
hd6301_cpu.h:63: warning : useless storage class specifier in empty
declaration
(Line 63 is the last line of the definition of the struct " }; "
What is it and how can I remove the warning ?
thanks,
regards,
Laurent
More information about the hatari-devel
mailing list