Re: desperate c situation



On Fri, 29 Dec 2000, Fatih Demir wrote:

> I do get an error about "statements with no effect" in
>  gtranslator's CVS sources ( it's in the
>    gtranslator/libgtranslator/main.c file I've attached).
> 
> Why does gcc complain about an error there? I can't see
>  really any reason for this; neither nested comments,
>   var args, missing includes etc.
> 
> It would be really great if someone could enlighten me why
>  the
>  
>  bindtextdomain("gtranslator", GNOMELOCALEDIR);
>  textdomain("gtranslator");
> 
>   lines are resulting in the warning above.

 Run 'gcc -E' on that file and see what these statements expand to. 

> -- 
> kabalak / kabalak gmx net / Fatih Demir
> `-GNOME / ICQ:64241161 / GSM: +491749787080
>  `-Editor / vim & Source Navigator
> 

 Best regards,
  -Vlad





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