Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#441 Conflicting header definitions

WSL
closed
Earnie Boyd
None
works-for-me
Unknown
2013-01-30
2003-10-01
scsirob
No

When using #include <winioctl.h> I get bunches of
double definitions. with MinGW 3.1.0-1. Compiling the
same sources with MinGW3.0.0-rc4 all is OK.

In file included from
c:/MinGW3_1_0/include/ddk/ntddk.h:73,
from
c:/MinGW3_1_0/include/ddk/ntddscsi.h:36,
from Win32/scsi.h:23,
from Win32/scsi.c:22:
c:/MinGW3_1_0/include/ddk/winddk.h:1036: redefinition
of `struct _DRIVE_LAYOUT_I
NFORMATION_MBR'
c:/MinGW3_1_0/include/ddk/winddk.h:1040: redefinition
of `struct _DRIVE_LAYOUT_I
NFORMATION_GPT'
c:/MinGW3_1_0/include/ddk/winddk.h:1047: redefinition
of `struct _PARTITION_INFO
RMATION_MBR'
c:/MinGW3_1_0/include/ddk/winddk.h:3533:
redeclaration of `enum _PARTITION_STYLE
'
c:/MinGW3_1_0/include/ddk/winddk.h:3534: conflicting
types for `PARTITION_STYLE_
MBR'
c:/MinGW3_1_0/include/winioctl.h:199: previous
declaration of `PARTITION_STYLE_M
BR'
c:/MinGW3_1_0/include/ddk/winddk.h:3536: conflicting
types for `PARTITION_STYLE_
GPT'
c:/MinGW3_1_0/include/winioctl.h:200: previous
declaration of `PARTITION_STYLE_G
PT'
c:/MinGW3_1_0/include/ddk/winddk.h:3540: conflicting
types for `CREATE_DISK_MBR'

c:/MinGW3_1_0/include/winioctl.h:209: previous
declaration of `CREATE_DISK_MBR'
c:/MinGW3_1_0/include/ddk/winddk.h:3540: conflicting
types for `PCREATE_DISK_MBR
'
c:/MinGW3_1_0/include/winioctl.h:209: previous
declaration of `PCREATE_DISK_MBR'

c:/MinGW3_1_0/include/ddk/winddk.h:3545: conflicting
types for `CREATE_DISK_GPT'

c:/MinGW3_1_0/include/winioctl.h:206: previous
declaration of `CREATE_DISK_GPT'
c:/MinGW3_1_0/include/ddk/winddk.h:3545: conflicting
types for `PCREATE_DISK_GPT
'
c:/MinGW3_1_0/include/winioctl.h:206: previous
declaration of `PCREATE_DISK_GPT'

c:/MinGW3_1_0/include/ddk/winddk.h:3553: conflicting
types for `CREATE_DISK'
c:/MinGW3_1_0/include/winioctl.h:216: previous
declaration of `CREATE_DISK'
c:/MinGW3_1_0/include/ddk/winddk.h:3553: conflicting
types for `PCREATE_DISK'
c:/MinGW3_1_0/include/winioctl.h:216: previous
declaration of `PCREATE_DISK'
make: *** [all] Error 1

Discussion

  • Earnie Boyd
    Earnie Boyd
    2012-08-01

    • status: open --> closed-works-for-me
     
  • Earnie Boyd
    Earnie Boyd
    2012-08-01

    Thank you for your interest in the MinGW project. This post is old and I am therefore closing it, if problems still exist
    please resubmit.

    The MinGW Project Administrators.

     
  • Earnie Boyd
    Earnie Boyd
    2013-01-30

    • labels: w32api (deprecated use WSL) -->
    • status: closed-works-for-me --> closed
    • resolution: --> works-for-me
    • category: --> Unknown
    • milestone: --> WSL