[Freeciv-Dev] Re: (PR#11248) connection.h and spaceship.h should require
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Mon, Nov 29, 2004 at 07:58:20AM -0800, Jason Short wrote:
> The rule is that every .c file should include config.h *before*
> including any other .h files.
Out of curiosity, why can't the .h files include it themselves, instead
of printing an error message? I'm sure there's a good reason, but I
can't imagine what it is.
> Don't include <config.h> in your .h files as that can hide errors. But
Unfortunately, I have no other choice, as some of my .cpp files are
auto-generated.
--
Frédéric Brière <*> fbriere@xxxxxxxxxxx
=> <fbriere@xxxxxxxxxx> IS NO MORE: <http://www.abacomsucks.com> <=
|
|