Hello,

The code in file Not_working_code.c , after compile the line
" strcat("FDKCheckScreenName", getValFromConfig("screennumber"))", gives
following error
-------------------------------------------------------------------------
Not_working_code.c: In function ‘dispInit’:
Not_working_code.c:21: warning: incompatible implicit declaration of
built-in function ‘strcat’
Not_working_code.c:21: error: ‘FDKCheckScreenName’ undeclared (first use in
this function)
Not_working_code.c:21: error: (Each undeclared identifier is reported only
once
Not_working_code.c:21: error: for each function it appears in.)
Not_working_code.c:21: warning: passing argument 2 of ‘strcat’ makes
pointer from integer without a cast
Not_working_code.c:21: note: expected ‘const char *’ but argument is of
type ‘int’
----------------------------------------------------------

After blocking that line compiled successfully with command "gcc
Not_working_code.c   `pkg-config --cflags gtk+-2.0` `pkg-config --libs
gtk+-2.0`"  Successfully compiled and after running gives following msg:

"Initializing the display library"

Is this your expected output? I did not get any response of thread. As
expected it shd open a window. Pls confirm


regards
Leena

On Thu, Mar 8, 2012 at 3:30 PM, venkat <venka...@vortexindia.co.in> wrote:

> Now we are facing a peculiar problem while trying to build our application
> with GTK.
>
> When we try to build application with threads we see that its objects are
> not accessible.
> But, the same code when we try without threads we see that we are able to
> access the objects
>
> also attached the sample codes for the same
>
> Hope you can bring us some light in solving
>
>
>
>
> _______________________________________________
> gnome-accessibility-list mailing list
> gnome-accessibility-list@gnome.org
> http://mail.gnome.org/mailman/listinfo/gnome-accessibility-list
>
>
_______________________________________________
gnome-accessibility-list mailing list
gnome-accessibility-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gnome-accessibility-list

Reply via email to