This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Prototypes for machine specific code



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  



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]