Melchior FRANZ a écrit :
> * Frederic Bouvier -- Sunday 26 February 2006 12:10:
>   
>> Olaf Flebbe wrote :
>>     
>>> 1) I do not understand lines like that
>>>
>>> #ifdef HAVE_CONFIG_H
>>>  #  include <config.h>
>>>  #endif
>>>
>>> in Simgear (math/sg_geometry.h) since the config file from Simgear is
>>> simgear_config.h
>>>       
>
>   
>> That's why putting these lines in a header file is a very bad idea.
>>     
>
> I hope you aren't really believing that. On the contrary: It's all the
> redundant noise that's added in bot-like fashion, which causes things
> like these. Would every sg file #include <simgear.h> and every fg file
> <flightgear.h>, whereby each included the respective config file if
> available -- *then* you wouldn't have that problem. Or if we used
> Andy's stubs.
>
>   

Yes I really believe that including config.h is a very bad idea. And it
seems you believe it too because you propose to rename the file.
Read carefully please.

-Fred





-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to