[Bug 13858] Compile error in dlls/setupapi/devinst.c

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Jun 12 19:47:41 CDT 2008


http://bugs.winehq.org/show_bug.cgi?id=13858





--- Comment #3 from Juan Lang <juan_lang at yahoo.com>  2008-06-12 19:47:40 ---
DEVINST is declared in cfgmgr32.h, with no tricky includes or whatnot to trip
it up:
typedef DWORD DEVINST, *PDEVINST;

That, in turn, is included by devinst.c:
#include "cfgmgr32.h"

I think you have a bug with your compiler setup.  If you want to make sure
cfgmgr32.h is being included, modify it with something like:
#pragma error "Got here"
around the DEVINST declaration.  If you never see the error, you need to track
down why it isn't getting included.  If you do, you need to find out why your
compiler can't typedef correctly.


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list