I am compiling a C application on an HP Unix 11.23 platform using the C99 compiler. I am receiving the following three warning message from the /usr/include/sys/_mbstate_t.h include file.
"/usr/include/sys/_mbstate_t.h", line 11: warning #2230-D: nonstandard type
for a bit field
unsigned char __parse_size:3;
^
"/usr/include/sys/_mbstate_t.h", line 12: warning #2230-D: nonstandard type
for a bit field
unsigned char __dummy:4;
^
"/usr/include/sys/_mbstate_t.h", line 13: warning #2230-D: nonstandard type
for a bit field
unsigned char __shift_state:1 ;
I understand that the c99 compiler warns the user of the use of "unsigned char". However, this is in a system include file. Is there a compiler option that will tell the c99 compiler to accept "unsigned char"? I don't want to surpress warning messages and I really don't like to ignore warning messages. Any help will be greatly appreciated.
"/usr/include/sys/_mbstate_t.h", line 11: warning #2230-D: nonstandard type
for a bit field
unsigned char __parse_size:3;
^
"/usr/include/sys/_mbstate_t.h", line 12: warning #2230-D: nonstandard type
for a bit field
unsigned char __dummy:4;
^
"/usr/include/sys/_mbstate_t.h", line 13: warning #2230-D: nonstandard type
for a bit field
unsigned char __shift_state:1 ;
I understand that the c99 compiler warns the user of the use of "unsigned char". However, this is in a system include file. Is there a compiler option that will tell the c99 compiler to accept "unsigned char"? I don't want to surpress warning messages and I really don't like to ignore warning messages. Any help will be greatly appreciated.
Comment