This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Prototypes for machine specific code
- To: egcs at cygnus dot com
- Subject: Prototypes for machine specific code
- From: Philipp Thomas <kthomas at gwdg dot de>
- Date: Mon, 26 Oct 1998 15:50:22 +0100 (MET)
As I'm somebody who hates code without prototypes, I looked into adding
prototypes to the machine specific code (in my case i386.h).
I understand that most of the problem is that the machine specific
header(s) are included before all other headers via config.h.
So declarations from other headers are missing.
While rtx and tree are easily solvable by moving the typedef for both to
the machine specific header and protecting it with macros against
redeclaration, I see no easy way for enum machine_mode. So I thought that
maybe somebody here has an idea (Kaveh ?) how to overcome this obstacle ?
Philipp
************************************************************
If builders would build houses like programmers did
their programs, the first woodpecker to come along would
mean the end of all civilization