|
From: Jonathan W. <jo...@tp...> - 2003-05-02 12:18:29
|
What about writing a program that will take the MingW header file & the Microsoft SDK/Visual C header file and parse both. Then it would print out: 1.all defintions in the MingW header and not in the Microsoft header (indicating they are either MingW only or (more likely) should be moved into a different header file) 2.all defintions in the Microsoft header and not in the MingW header (indicating they are either missing or have been put into the wrong header file) and 3.all defintions in both header files but which have different defintions (indicating someone made a mistake). It would also have some way to define or not define things, so it could handle code like: #idfef MAC #define abc 1 #else #define abc 2 #endif and stuff |