Linking problem: IsWindowVisible

Jeff Sturm
Wed Mar 15 07:06:00 GMT 2000

Axel Riese wrote:
> Yes, clear. But I have my doubts that one can get an undefined reference
> due to a missing declaration.

Sure you can, because the __stdcall modifier alters the linkage name of
the symbol.

> Anyway, adding -mwindows or -luser32
> should solve the problem.

IIRC the undefined symbol was 'IsWindowVisible', which is a symptom of a
different problem.  That symbol isn't defined in any Win32 library...
'IsWindowVisible@4' is.

Jeff Sturm

Want to unsubscribe from this list?
Send a message to

More information about the Cygwin mailing list