Package: mingw32-runtime
Version: 3.12-1
Severity: important
File: /usr/i586-mingw32msvc/include/oaidl.h

oaidl.h defines SF_TYPE like this:
typedef enum tagSF_TYPE {
        SF_ERROR=VT_ERROR,
        SF_I1=VT_I1,
        SF_I2=VT_I2,
        SF_I4=VT_I4,
        SF_I8=VT_I8,
        SF_BSTR=VT_BSTR,
        SF_UNKNOWN=VT_UNKNOWN,
        SF_DISPATCH=VT_DISPATCH,
        SF_VARIANT=VT_VARIANT
}SF_TYPE;

The VT_* constants used here, such as VT_ERROR, come from wtypes.h .  However,
oaidl.h does not include wtypes.h , and oleauto.h includes oaidl.h without
including wtypes.h .  This results in compiler errors due to a missing
definition for VT_ERROR.  Either oaidl.h should include wtypes.h, or oleauto.h
should include wtypes.h before including oaidl.h .  I suggest the former, as I
prefer to have self-contained header files.

- Josh Triplett

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-rc1 (PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

mingw32-runtime depends on no packages.

Versions of packages mingw32-runtime recommends:
ii  mingw32          3.4.5.20060117.1.dfsg-3 Minimalist GNU win32 (cross) compi

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to