From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeff Sturm To: Axel Riese Cc: Øystein O Johansen , Cygwin Mailing List Subject: Re: Linking problem: IsWindowVisible Date: Wed, 15 Mar 2000 06:48:00 -0000 Message-id: <38CFA385.B0594DCE@sigma6.com> References: <200003151438.PAA85199@andromeda.risc.uni-linz.ac.at> X-SW-Source: 2000-03/msg00358.html Axel Riese wrote: > > > Yes, I worked that out by self. But I still get undefined > > > reference to 'IsWindowVisible' ? > > > > You may be missing a declaration for IsWindowVisible. Does the source > > file have #include anywhere? > > Hm, in this case you should have problems at compile time, not at > link time, shouldn't you ? Not necessarily. In the absence of a declaration, C will guess "int IsWindowVisible()", which in this case is wrong. BTW you can catch such problems by compiling with -Wall: jcs.c:4: warning: implicit declaration of function `IsWindowVisible' -- Jeff Sturm jsturm@sigma6.com -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe@sourceware.cygnus.com