On Mar. Ago. 12 15:05:57 2008, Whiteknight wrote: > This probably isn't headerizer's fault, it's more likely the fault of > IMCC for being so damn complicated. We could change all the function > definitions in the IMCC related files to use "struct _IMC_Unit" instead > of "IMC_Unit" which would resolve the problem. Alternatively, we could > rearrange the way the header files are ordered/created, and ensure all > function prototypes are included after all data type definitions.
Or we can declare the typedef for IMC_Unit in imc.h before the #include of the other imcc headers, with a forward declaration of _IMC_Unit. Done in r31517. Ticket let opened to hear possible problems.