help:about redefinition

Joe Durusau durusau@delphi.com
Fri Oct 1 00:00:00 GMT 1999


    It looks like the header in /usr/fore has a problem.  However, it
won't hurt anything if the two definitions are the same.  Warnings are
just that, notices of something that is bad practice, but not necesarily
a serious problem.

Speaking only for myself,

Joe Durusau


kenation wrote:

> when I include some headers in my code,
> it could not pass, and gcc appears this informations:
>
> /usr/include/fore/sysdep/types.h:31: warning: redefinition of `int8_t'
> /usr/include/sys/int_types.h:62: warning: `int8_t' previously declared here
>
> when I check these two files, int8_t are tyepdef as char in both header
> how should I solve the problem without change the original header?
> thank you



More information about the Gcc-help mailing list