Prototypes for machine specific code
Philipp Thomas
kthomas@gwdg.de
Mon Oct 26 06:50:00 GMT 1998
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
More information about the Gcc
mailing list