Re: [gtk-list] problem compiling gtk+-1.2.5



Mohd. K. Kasmin wrote:
> 
> got this error while compiling gtk+-1.2.5
> 
>   testgtk.c:7771: `idle' redeclared as different kind of symbol
>   /usr/include/unistd.h:669: previous declaration of `idle'
>   testgtk.c:7771: warning: `idle' was declared `extern' and later `static'
> 
> What should I do since I am not sure whether the `idle' in
> /usr/include/unistd.h refer to the same thing as the one in
> gtk+-1.2.5/gtk/testgtk.c
> 
> Please help.
> 
> MKK
> 

i had the same problem, easy to fix since <idle> mentioned
in testgtk has nothing to do with that in unistd.h.
Simple rename differently <idle> in testgtk

/mario
--
Mario Motta, AI Research Group - Rimini
mmotta@guest.net; mmotta@programmers.net 
http://www.programmers.net/artic/Motta/vdk/index.htm



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