w32api: Typo in commctl.h
Phil Dempster
p_dempster@yahoo.co.uk
Tue Aug 20 09:09:00 GMT 2002
> I've encountered various 'undefined reference' errors, for example
> InitCommonControls. I'm passing -lcomctl32 (since nm -A
/usr/lib/w32api/*.a
> | grep InitComm indicates that is where it resides), but I think the issue
> is to do with the @...
>
> main.o(.text+0x2c3):main.cpp: undefined reference to
`InitCommonControls@0'
User error at line 2 -- I was passing the -lcomctl32 before the object files
on the linker command line.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
More information about the Cygwin
mailing list