This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
winnt.c doesn't include i386-protos.h
- To: "'gcc-bugs at gcc dot gnu dot org'" <gcc-bugs at gcc dot gnu dot org>
- Subject: winnt.c doesn't include i386-protos.h
- From: "Billinghurst, David (CRTS)" <David dot Billinghurst at riotinto dot com>
- Date: Sat, 10 Mar 2001 23:33:43 -0000
I am trying to eliminate some gcc-3.0 bootstrap warnings on cygwin. I have
a question on gcc header file conventions.
There are lots of warnings in config/i386/winnt.c. The first warning is:
/usr/local/src/gcc/gcc/config/i386/winnt.c: In function
`i386_pe_valid_decl_attribute_p':
/usr/local/src/gcc/gcc/config/i386/winnt.c:63: warning: implicit declaration
of function `ix86_valid_decl_attribute_p'
ix86_valid_decl_attribute_p is declared in i386-protos.h. A grep of the
source tree indicates that this file isn't included directly in other files.
What is the right way to do it?