[Freeciv-Dev] Re: (PR#12629) Make each header file self-contained
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<URL: http://bugs.freeciv.org/Ticket/Display.html?id=12629 >
Raimar Falke wrote:
> <URL: http://bugs.freeciv.org/Ticket/Display.html?id=12629 >
>
> On Fri, Mar 25, 2005 at 08:58:05AM -0800, Jason Short wrote:
>
>>Thee practice of adding struct declarations like this has been mostly
>>deprecated. Instead you should #include "fc_types.h".
>
> Ohh. I did't know this. Why was this done?
To avoid problems with recursive includes (for stuff like typedefs, but
it ended up taking all the struct declarations as well).
> So what about a patch to remove these?
If you like. I did this some time ago but new ones may have been
introduce since then.
-jason
|
|