Re: desperate c situation



Den 29 Dec 2000 15:33:28 +0100, skrev Zbigniew Chyla:
> 
> On Fri, 2000-12-29 at 14:58:37, Fatih Demir wrote:
> 
> > > Short answer: #include <config.h>
> > 
> > Hehe, it's included indirectly...
> 
> Is config.h included before gnome-i18n.h (indirectly)?
> 
> > Yes, the void casts are avoiding the error but even defining ENABLE_NLS before
> >  these lines doesn't help ...
> 
> ENABLE_NLS must be defined before processing gnome-i18n.h.
> Add #include <config.h> (or #define ENABLE_NLS) at the _top of the file_.
> 
> 
It's my understanding that all .c files should contain #include <config.h>

so that is probably the correct solution to the problem.

Cheers
Kjartan


-- 





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]