win32 api compatibility fix
authorRoyce Mitchell III <royce3@ev1.net>
Thu, 8 Sep 2005 23:10:17 +0000 (23:10 +0000)
committerRoyce Mitchell III <royce3@ev1.net>
Thu, 8 Sep 2005 23:10:17 +0000 (23:10 +0000)
changed 'warnings' attribute of <module> to 'allowwarnings' to make it's function less ambiguous

svn path=/trunk/; revision=17755

85 files changed:
reactos/apps/utils/net/ftp/ftp.xml
reactos/apps/utils/net/ipconfig/ipconfig.xml
reactos/apps/utils/net/netstat/netstat.xml
reactos/apps/utils/net/route/route.xml
reactos/boot/freeldr/freeldr/freeldr_base.xml
reactos/drivers/bus/acpi/acpi.xml
reactos/drivers/bus/pci/pci.xml
reactos/drivers/dd/sndblst/sndblst.xml
reactos/drivers/lib/ip/ip.xml
reactos/drivers/lib/oskittcp/oskittcp.xml
reactos/drivers/storage/disk/disk.xml
reactos/drivers/usb/usbstor/usbstor.xml
reactos/hal/halx86/xbox/halxbox.xml
reactos/lib/adns/adns.xml
reactos/lib/cabinet/cabinet.xml
reactos/lib/comctl32/comctl32.xml
reactos/lib/comdlg32/comdlg32.xml
reactos/lib/dbghelp/dbghelp.xml
reactos/lib/devenum/devenum.xml
reactos/lib/dinput/dinput.xml
reactos/lib/dxdiagn/dxdiagn.xml
reactos/lib/freetype/freetype.xml
reactos/lib/glu32/glu32.xml
reactos/lib/imagehlp/imagehlp.xml
reactos/lib/iphlpapi/iphlpapi.xml
reactos/lib/keyboard/kbdbe/kbdbe.xml
reactos/lib/keyboard/kbdda/kbdda.xml
reactos/lib/keyboard/kbddv/kbddv.xml
reactos/lib/keyboard/kbdes/kbdes.xml
reactos/lib/keyboard/kbdfr/kbdfr.xml
reactos/lib/keyboard/kbdgr/kbdgr.xml
reactos/lib/keyboard/kbdru/kbdru.xml
reactos/lib/keyboard/kbdse/kbdse.xml
reactos/lib/keyboard/kbdsg/kbdsg.xml
reactos/lib/keyboard/kbduk/kbduk.xml
reactos/lib/keyboard/kbdus/kbdus.xml
reactos/lib/mesa32/mesa32.xml
reactos/lib/mpr/mpr.xml
reactos/lib/msi/msi.xml
reactos/lib/msimg32/msimg32.xml
reactos/lib/netapi32/netapi32.xml
reactos/lib/ole32/ole32.xml
reactos/lib/oleaut32/oleaut32.xml
reactos/lib/oledlg/oledlg.xml
reactos/lib/riched20/riched20.xml
reactos/lib/rpcrt4/rpcrt4.xml
reactos/lib/setupapi/setupapi.xml
reactos/lib/shdocvw/shdocvw.xml
reactos/lib/shell32/shell32.xml
reactos/lib/shlwapi/shlwapi.xml
reactos/lib/twain/twain_32.xml
reactos/lib/urlmon/urlmon.xml
reactos/lib/user32/user32.xml
reactos/lib/uxtheme/uxtheme.xml
reactos/lib/version/version.xml
reactos/lib/wininet/wininet.xml
reactos/lib/winmm/midimap/midimap.xml
reactos/lib/winmm/wavemap/wavemap.xml
reactos/lib/winmm/winmm.xml
reactos/regtests/winetests/advapi32/advapi32.xml
reactos/regtests/winetests/comctl32/comctl32.xml
reactos/regtests/winetests/gdi32/gdi32.xml
reactos/regtests/winetests/kernel32/kernel32.xml
reactos/regtests/winetests/msvcrt/msvcrt.xml
reactos/regtests/winetests/ntdll/ntdll.xml
reactos/regtests/winetests/psapi/psapi.xml
reactos/regtests/winetests/setupapi/setupapi.xml
reactos/regtests/winetests/shell32/shell32.xml
reactos/regtests/winetests/shlwapi/shlwapi.xml
reactos/regtests/winetests/user32/user32.xml
reactos/regtests/winetests/version/version.xml
reactos/subsys/system/dhcp/dhcp.xml
reactos/subsys/system/format/format.xml
reactos/subsys/system/hostname/hostname.xml
reactos/subsys/system/msiexec/msiexec.xml
reactos/subsys/system/usetup/usetup.xml
reactos/subsys/system/winefile/winefile.xml
reactos/subsys/win32k/win32k.xml
reactos/tools/rbuild/backend/mingw/mingw.cpp
reactos/tools/rbuild/backend/mingw/modulehandler.cpp
reactos/tools/rbuild/doc/rbuild.dbk
reactos/tools/rbuild/doc/rbuild.txt
reactos/tools/rbuild/module.cpp
reactos/tools/rbuild/project.dtd
reactos/tools/rbuild/rbuild.h

index 15dc704..100afb6 100644 (file)
@@ -1,4 +1,4 @@
-<module name="ftp" type="win32cui" installbase="system32" installname="ftp.exe" warnings="true">
+<module name="ftp" type="win32cui" installbase="system32" installname="ftp.exe" allowwarnings="true">
        <include base="ftp">.</include>
        <define name="__USE_W32API" />
        <define name="lint" />
index 0078e18..39efaac 100644 (file)
@@ -1,4 +1,4 @@
-<module name="ipconfig" type="win32cui" installbase="system32" installname="ipconfig.exe" warnings="true">
+<module name="ipconfig" type="win32cui" installbase="system32" installname="ipconfig.exe" allowwarnings="true">
        <include base="ipconfig">.</include>
        <define name="__USE_W32API" />
        <library>kernel32</library>
index 11bef93..573438b 100644 (file)
@@ -1,4 +1,4 @@
-<module name="netstat" type="win32cui" installbase="system32" installname="netstat.exe" warnings="true">
+<module name="netstat" type="win32cui" installbase="system32" installname="netstat.exe" allowwarnings="true">
        <include base="netstat">.</include>
        <define name="__USE_W32API" />
        <define name="_WIN32_IE">0x600</define>
index afa7208..d509507 100644 (file)
@@ -1,4 +1,4 @@
-<module name="route" type="win32cui" installbase="system32" installname="route.exe" warnings="true">
+<module name="route" type="win32cui" installbase="system32" installname="route.exe" allowwarnings="true">
        <include base="route">.</include>
        <define name="__USE_W32API" />
        <library>kernel32</library>
index f647228..0fee2e1 100644 (file)
@@ -1,4 +1,4 @@
-<module name="freeldr_base" type="objectlibrary" warnings="true">
+<module name="freeldr_base" type="objectlibrary" allowwarnings="true">
        <include base="freeldr_base">include</include>
        <include base="freeldr_base">cache</include>
        <include base="ntoskrnl">include</include>
index b0c9e61..a3960c1 100644 (file)
@@ -1,4 +1,4 @@
-<module name="acpi" type="kernelmodedriver" installbase="system32/drivers" installname="acpi.sys" warnings="true">
+<module name="acpi" type="kernelmodedriver" installbase="system32/drivers" installname="acpi.sys" allowwarnings="true">
        <include base="acpi">include</include>
        <include base="acpi">ospm/include</include>
        <define name="__USE_W32API" />
index 1101208..3633f7d 100644 (file)
@@ -1,4 +1,4 @@
-<module name="pci" type="kernelmodedriver" installbase="system32/drivers" installname="pci.sys" warnings="true">
+<module name="pci" type="kernelmodedriver" installbase="system32/drivers" installname="pci.sys" allowwarnings="true">
        <include base="pci">.</include>
        <define name="__USE_W32API" />
        <library>ntoskrnl</library>
index 0110fea..88fb087 100644 (file)
@@ -1,4 +1,4 @@
-<module name="sndblst" type="kernelmodedriver" warnings="true">
+<module name="sndblst" type="kernelmodedriver" allowwarnings="true">
        <include base="sndblst">.</include>
        <define name="__USE_W32API" />
        <library>ntoskrnl</library>
index 283a267..ea6ea1a 100644 (file)
@@ -1,4 +1,4 @@
-<module name="ip" type="staticlibrary" warnings="true">
+<module name="ip" type="staticlibrary" allowwarnings="true">
        <define name="__NTDRIVER__"/>
        <define name="_SEH_NO_NATIVE_NLG"/>
        <define name="__USE_W32API"/>
index a3e0f0a..b762fb0 100644 (file)
@@ -1,4 +1,4 @@
-<module name="oskittcp" type="staticlibrary" warnings="true">
+<module name="oskittcp" type="staticlibrary" allowwarnings="true">
        <define name="__REACTOS__">1</define>
        <define name="__NTDRIVER__"/>
        <define name="KERNEL"/>
index c7b91c8..2b2a638 100644 (file)
@@ -1,4 +1,4 @@
-<module name="disk" type="kernelmodedriver" installbase="system32/drivers" installname="disk.sys" warnings="true">
+<module name="disk" type="kernelmodedriver" installbase="system32/drivers" installname="disk.sys" allowwarnings="true">
        <bootstrap base="reactos" />
        <define name="__USE_W32API" />
        <linkerflag>-lgcc</linkerflag>
index 01b1404..be05b72 100644 (file)
@@ -1,4 +1,4 @@
-<module name="usbstor" type="kernelmodedriver" installbase="system32/drivers" installname="usbstor.sys" warnings="true">
+<module name="usbstor" type="kernelmodedriver" installbase="system32/drivers" installname="usbstor.sys" allowwarnings="true">
        <define name="__USE_W32API" />
        <define name="DEBUG_MODE" />
        <include base="ntoskrnl">include</include>
index c817ac6..1119703 100644 (file)
@@ -1,4 +1,4 @@
-<module name="halxbox" type="kernelmodedll" warnings="true">
+<module name="halxbox" type="kernelmodedll" allowwarnings="true">
        <importlibrary definition="../../hal/hal.def" />
        <include base="hal_generic">../include</include>
        <include base="ntoskrnl">include</include>
index 298a76d..1c58b0f 100644 (file)
@@ -1,4 +1,4 @@
-<module name="adns" type="staticlibrary" warnings="true">
+<module name="adns" type="staticlibrary" allowwarnings="true">
        <include base="adns">src</include>
        <include base="adns">adns_win32</include>
        <define name="__USE_W32API" />
index ef8345d..ab076c2 100644 (file)
@@ -1,4 +1,4 @@
-<module name="cabinet" type="win32dll" baseaddress="${BASEADDRESS_CABINET}" installbase="system32" installname="cabinet.dll" warnings="true">
+<module name="cabinet" type="win32dll" baseaddress="${BASEADDRESS_CABINET}" installbase="system32" installname="cabinet.dll" allowwarnings="true">
        <importlibrary definition="cabinet.spec.def" />
        <include base="cabinet">.</include>
        <include base="ReactOS">include/wine</include>
index 1ef77be..0f7611b 100644 (file)
@@ -1,4 +1,4 @@
-<module name="comctl32" type="win32dll" baseaddress="${BASEADDRESS_COMCTL32}" installbase="system32" installname="comctl32.dll" warnings="true">
+<module name="comctl32" type="win32dll" baseaddress="${BASEADDRESS_COMCTL32}" installbase="system32" installname="comctl32.dll" allowwarnings="true">
        <importlibrary definition="comctl32.spec.def" />
        <include base="comctl32">.</include>
        <include base="ReactOS">include/wine</include>
index be494cb..d25832f 100644 (file)
@@ -1,4 +1,4 @@
-<module name="comdlg32" type="win32dll" baseaddress="${BASEADDRESS_COMDLG32}" installbase="system32" installname="comdlg32.dll" warnings="true" usewrc="false">
+<module name="comdlg32" type="win32dll" baseaddress="${BASEADDRESS_COMDLG32}" installbase="system32" installname="comdlg32.dll" allowwarnings="true" usewrc="false">
        <importlibrary definition="comdlg32.spec.def" />
        <include base="comdlg32">.</include>
        <include base="ReactOS">include/wine</include>
index ccf516d..f4c4cfa 100644 (file)
@@ -1,4 +1,4 @@
-<module name="dbghelp" type="win32dll" baseaddress="${BASEADDRESS_DBGHELP}" installbase="system32" installname="dbghelp.dll" warnings="true">
+<module name="dbghelp" type="win32dll" baseaddress="${BASEADDRESS_DBGHELP}" installbase="system32" installname="dbghelp.dll" allowwarnings="true">
        <importlibrary definition="dbghelp.spec.def" />
        <include base="dbghelp">.</include>
        <include base="ReactOS">include/wine</include>
index a6a1919..f7bce21 100644 (file)
@@ -1,4 +1,4 @@
-<module name="devenum" type="win32dll" baseaddress="${BASEADDRESS_DEVENUM}" installbase="system32" installname="devenum.dll" warnings="true">
+<module name="devenum" type="win32dll" baseaddress="${BASEADDRESS_DEVENUM}" installbase="system32" installname="devenum.dll" allowwarnings="true">
        <importlibrary definition="devenum.spec.def" />
        <include base="devenum">.</include>
        <include base="ReactOS">include/wine</include>
index d1c6cf9..7031e67 100644 (file)
@@ -1,4 +1,4 @@
-<module name="dinput" type="win32dll" baseaddress="${BASEADDRESS_DINPUT}" installbase="system32" installname="dinput.dll" warnings="true">
+<module name="dinput" type="win32dll" baseaddress="${BASEADDRESS_DINPUT}" installbase="system32" installname="dinput.dll" allowwarnings="true">
        <importlibrary definition="dinput.spec.def" />
        <include base="dinput">.</include>
        <include base="ReactOS">include/wine</include>
index 4fa8261..9e1b22f 100644 (file)
@@ -1,4 +1,4 @@
-<module name="dxdiagn" type="win32dll" baseaddress="${BASEADDRESS_DXDIAGN}" installbase="system32" installname="dxdiagn.dll" warnings="true">
+<module name="dxdiagn" type="win32dll" baseaddress="${BASEADDRESS_DXDIAGN}" installbase="system32" installname="dxdiagn.dll" allowwarnings="true">
        <importlibrary definition="dxdiagn.spec.def" />
        <include base="dxdiagn">.</include>
        <include base="ReactOS">include/wine</include>
index da5d91c..179e13f 100644 (file)
@@ -1,4 +1,4 @@
-<module name="freetype" type="kernelmodedll" baseaddress="${BASEADDRESS_FREETYPE}" installbase="system32" installname="freetype.dll" entrypoint="0" warnings="true">
+<module name="freetype" type="kernelmodedll" baseaddress="${BASEADDRESS_FREETYPE}" installbase="system32" installname="freetype.dll" entrypoint="0" allowwarnings="true">
        <importlibrary definition="freetype.def" />
        <include base="freetype">include</include>
        <define name="_DISABLE_TIDENTS" />
index d4e6b57..5aca94a 100644 (file)
@@ -1,4 +1,4 @@
-<module name="glu32" type="win32dll" baseaddress="${BASEADDRESS_GLU32}" installbase="system32" installname="glu32.dll" warnings="true">
+<module name="glu32" type="win32dll" baseaddress="${BASEADDRESS_GLU32}" installbase="system32" installname="glu32.dll" allowwarnings="true">
        <importlibrary definition="glu32.def" />
        <include base="glu32">include</include>
        <include base="glu32">libnurbs/internals</include>
index b20db44..5778485 100644 (file)
@@ -1,4 +1,4 @@
-<module name="imagehlp" type="win32dll" baseaddress="${BASEADDRESS_IMAGEHLP}" installbase="system32" installname="imagehlp.dll" warnings="true">
+<module name="imagehlp" type="win32dll" baseaddress="${BASEADDRESS_IMAGEHLP}" installbase="system32" installname="imagehlp.dll" allowwarnings="true">
        <importlibrary definition="imagehlp.def" />
        <include base="imagehlp">.</include>
        <include base="ReactOS">include/wine</include>
index 04de666..afdd1b1 100644 (file)
@@ -1,4 +1,4 @@
-<module name="iphlpapi" type="win32dll" baseaddress="${BASEADDRESS_IPHLPAPI}" installbase="system32" installname="iphlpapi.dll" warnings="true">
+<module name="iphlpapi" type="win32dll" baseaddress="${BASEADDRESS_IPHLPAPI}" installbase="system32" installname="iphlpapi.dll" allowwarnings="true">
        <importlibrary definition="iphlpapi.spec.def" />
        <include base="iphlpapi">include</include>
        <include base="ReactOS">include/wine</include>
index 1d9692f..6628605 100644 (file)
@@ -1,4 +1,4 @@
-<module name="kbdbe" type="kernelmodedll" entrypoint="0" installbase="system32" installname="kbdbe.dll" warnings="true">
+<module name="kbdbe" type="kernelmodedll" entrypoint="0" installbase="system32" installname="kbdbe.dll" allowwarnings="true">
        <importlibrary definition="kbdbe.def" />
        <include base="ntoskrnl">include</include>
        <define name="_DISABLE_TIDENTS" />
index 23f8397..e685047 100644 (file)
@@ -1,4 +1,4 @@
-<module name="kbdda" type="kernelmodedll" entrypoint="0" installbase="system32" installname="kbdda.dll" warnings="true">
+<module name="kbdda" type="kernelmodedll" entrypoint="0" installbase="system32" installname="kbdda.dll" allowwarnings="true">
        <importlibrary definition="kbdda.def" />
        <include base="ntoskrnl">include</include>
        <define name="_DISABLE_TIDENTS" />
index 570d33c..ba91a87 100644 (file)
@@ -1,4 +1,4 @@
-<module name="kbddv" type="kernelmodedll" entrypoint="0" installbase="system32" installname="kbddv.dll" warnings="true">
+<module name="kbddv" type="kernelmodedll" entrypoint="0" installbase="system32" installname="kbddv.dll" allowwarnings="true">
        <importlibrary definition="kbddv.def" />
        <include base="ntoskrnl">include</include>
        <define name="_DISABLE_TIDENTS" />
index 8166935..c0f4be9 100644 (file)
@@ -1,4 +1,4 @@
-<module name="kbdes" type="kernelmodedll" entrypoint="0" installbase="system32" installname="kbdes.dll" warnings="true">
+<module name="kbdes" type="kernelmodedll" entrypoint="0" installbase="system32" installname="kbdes.dll" allowwarnings="true">
        <importlibrary definition="kbdes.def" />
        <include base="ntoskrnl">include</include>
        <define name="_DISABLE_TIDENTS" />
index ca1c8b6..4d887f8 100644 (file)
@@ -1,4 +1,4 @@
-<module name="kbdfr" type="kernelmodedll" entrypoint="0" installbase="system32" installname="kbdfr.dll" warnings="true">
+<module name="kbdfr" type="kernelmodedll" entrypoint="0" installbase="system32" installname="kbdfr.dll" allowwarnings="true">
        <importlibrary definition="kbdfr.def" />
        <include base="ntoskrnl">include</include>
        <define name="_DISABLE_TIDENTS" />
index 0fd398c..8affbfe 100644 (file)
@@ -1,4 +1,4 @@
-<module name="kbdgr" type="kernelmodedll" entrypoint="0" installbase="system32" installname="kbdgr.dll" warnings="true">
+<module name="kbdgr" type="kernelmodedll" entrypoint="0" installbase="system32" installname="kbdgr.dll" allowwarnings="true">
        <importlibrary definition="kbdgr.def" />
        <include base="ntoskrnl">include</include>
        <define name="_DISABLE_TIDENTS" />
index 1ab2a24..76419bd 100644 (file)
@@ -1,4 +1,4 @@
-<module name="kbdru" type="kernelmodedll" entrypoint="0" installbase="system32" installname="kbdru.dll" warnings="true">
+<module name="kbdru" type="kernelmodedll" entrypoint="0" installbase="system32" installname="kbdru.dll" allowwarnings="true">
        <importlibrary definition="kbdru.def" />
        <include base="ntoskrnl">include</include>
        <define name="_DISABLE_TIDENTS" />
index 166597b..8aac06b 100644 (file)
@@ -1,4 +1,4 @@
-<module name="kbdse" type="kernelmodedll" entrypoint="0" installbase="system32" installname="kbdse.dll" warnings="true">
+<module name="kbdse" type="kernelmodedll" entrypoint="0" installbase="system32" installname="kbdse.dll" allowwarnings="true">
        <importlibrary definition="kbdse.def" />
        <include base="ntoskrnl">include</include>
        <define name="_DISABLE_TIDENTS" />
index d77cace..19676d6 100644 (file)
@@ -1,4 +1,4 @@
-<module name="kbdsg" type="kernelmodedll" entrypoint="0" installbase="system32" installname="kbdsg.dll" warnings="true">
+<module name="kbdsg" type="kernelmodedll" entrypoint="0" installbase="system32" installname="kbdsg.dll" allowwarnings="true">
        <importlibrary definition="kbdsg.def" />
        <include base="ntoskrnl">include</include>
        <define name="_DISABLE_TIDENTS" />
index 93927c2..c5c6249 100644 (file)
@@ -1,4 +1,4 @@
-<module name="kbduk" type="kernelmodedll" entrypoint="0" installbase="system32" installname="kbduk.dll" warnings="true">
+<module name="kbduk" type="kernelmodedll" entrypoint="0" installbase="system32" installname="kbduk.dll" allowwarnings="true">
        <importlibrary definition="kbduk.def" />
        <include base="ntoskrnl">include</include>
        <define name="_DISABLE_TIDENTS" />
index da246c9..cc50833 100644 (file)
@@ -1,4 +1,4 @@
-<module name="kbdus" type="kernelmodedll" entrypoint="0" installbase="system32" installname="kbdus.dll" warnings="true">
+<module name="kbdus" type="kernelmodedll" entrypoint="0" installbase="system32" installname="kbdus.dll" allowwarnings="true">
        <importlibrary definition="kbdus.def" />
        <include base="ntoskrnl">include</include>
        <define name="_DISABLE_TIDENTS" />
index 9fc04d0..f0ebc93 100644 (file)
@@ -1,4 +1,4 @@
-<module name="mesa32" type="win32dll" baseaddress="${BASEADDRESS_MESA32}" installbase="system32" installname="mesa32.dll" warnings="true">
+<module name="mesa32" type="win32dll" baseaddress="${BASEADDRESS_MESA32}" installbase="system32" installname="mesa32.dll" allowwarnings="true">
        <importlibrary definition="mesa32.def" />
        <linkerflag>-Wl,--enable-stdcall-fixup</linkerflag>
        <include base="mesa32">include</include>
index 862423a..62c8744 100644 (file)
@@ -1,4 +1,4 @@
-<module name="mpr" type="win32dll" baseaddress="${BASEADDRESS_MPR}" installbase="system32" installname="mpr.dll" warnings="true">
+<module name="mpr" type="win32dll" baseaddress="${BASEADDRESS_MPR}" installbase="system32" installname="mpr.dll" allowwarnings="true">
        <importlibrary definition="mpr.spec.def" />
        <include base="mpr">.</include>
        <include base="ReactOS">include/wine</include>
index ed7fdd2..3777078 100644 (file)
@@ -1,4 +1,4 @@
-<module name="msi" type="win32dll" baseaddress="${BASEADDRESS_MSI}" installbase="system32" installname="msi.dll" warnings="true">
+<module name="msi" type="win32dll" baseaddress="${BASEADDRESS_MSI}" installbase="system32" installname="msi.dll" allowwarnings="true">
        <importlibrary definition="msi.spec.def" />
        <include base="msi">.</include>
        <include base="ReactOS">include/wine</include>
index 314ca97..7fd1e79 100644 (file)
@@ -1,4 +1,4 @@
-<module name="msimg32" type="win32dll" baseaddress="${BASEADDRESS_MSIMG32}" installbase="system32" installname="msimg32.dll" warnings="true">
+<module name="msimg32" type="win32dll" baseaddress="${BASEADDRESS_MSIMG32}" installbase="system32" installname="msimg32.dll" allowwarnings="true">
        <importlibrary definition="msimg32.spec.def" />
        <include base="msimg32">.</include>
        <include base="msimg32">include</include>
index 2f1e5ab..192631e 100644 (file)
@@ -1,4 +1,4 @@
-<module name="netapi32" type="win32dll" baseaddress="${BASEADDRESS_NETAPI32}" installbase="system32" installname="netapi32.dll" warnings="true">
+<module name="netapi32" type="win32dll" baseaddress="${BASEADDRESS_NETAPI32}" installbase="system32" installname="netapi32.dll" allowwarnings="true">
        <importlibrary definition="netapi32.spec.def" />
        <include base="netapi32">.</include>
        <include base="ReactOS">include/wine</include>
index d9e044f..a11dcdd 100644 (file)
@@ -1,4 +1,4 @@
-<module name="ole32" type="win32dll" baseaddress="${BASEADDRESS_OLE32}" installbase="system32" installname="ole32.dll" warnings="true">
+<module name="ole32" type="win32dll" baseaddress="${BASEADDRESS_OLE32}" installbase="system32" installname="ole32.dll" allowwarnings="true">
        <importlibrary definition="ole32.spec.def" />
        <include base="ole32">.</include>
        <include base="ReactOS">include/wine</include>
index 9f80ce2..a7618e9 100644 (file)
@@ -1,4 +1,4 @@
-<module name="oleaut32" type="win32dll" baseaddress="${BASEADDRESS_OLEAUT32}" installbase="system32" installname="oleaut32.dll" warnings="true">
+<module name="oleaut32" type="win32dll" baseaddress="${BASEADDRESS_OLEAUT32}" installbase="system32" installname="oleaut32.dll" allowwarnings="true">
        <importlibrary definition="oleaut32.spec.def" />
        <include base="oleaut32">.</include>
        <include base="ReactOS">include/wine</include>
index 60c7b3b..f3cc030 100644 (file)
@@ -1,4 +1,4 @@
-<module name="oledlg" type="win32dll" baseaddress="${BASEADDRESS_OLEDLG}" installbase="system32" installname="oledlg.dll" warnings="true">
+<module name="oledlg" type="win32dll" baseaddress="${BASEADDRESS_OLEDLG}" installbase="system32" installname="oledlg.dll" allowwarnings="true">
        <importlibrary definition="oledlg.spec.def" />
        <include base="oledlg">.</include>
        <include base="ReactOS">include/wine</include>
index fe6e68d..2435d0a 100644 (file)
@@ -1,4 +1,4 @@
-<module name="riched20" type="win32dll" baseaddress="${BASEADDRESS_RICHED20}" installbase="system32" installname="riched20.dll" warnings="true">
+<module name="riched20" type="win32dll" baseaddress="${BASEADDRESS_RICHED20}" installbase="system32" installname="riched20.dll" allowwarnings="true">
        <importlibrary definition="riched20.spec.def" />
        <include base="riched20">.</include>
        <include base="ReactOS">include/wine</include>
index bf35363..913d747 100644 (file)
@@ -1,4 +1,4 @@
-<module name="rpcrt4" type="win32dll" baseaddress="${BASEADDRESS_RPCRT4}" installbase="system32" installname="rpcrt4.dll" warnings="true">
+<module name="rpcrt4" type="win32dll" baseaddress="${BASEADDRESS_RPCRT4}" installbase="system32" installname="rpcrt4.dll" allowwarnings="true">
        <importlibrary definition="rpcrt4.spec.def" />
        <include base="rpcrt4">.</include>
        <include base="ReactOS">include/wine</include>
index abfa82c..2de1cc8 100644 (file)
@@ -1,4 +1,4 @@
-<module name="setupapi" type="win32dll" baseaddress="${BASEADDRESS_SETUPAPI}" installbase="system32" installname="setupapi.dll" warnings="true">
+<module name="setupapi" type="win32dll" baseaddress="${BASEADDRESS_SETUPAPI}" installbase="system32" installname="setupapi.dll" allowwarnings="true">
        <importlibrary definition="setupapi.spec.def" />
        <include base="setupapi">.</include>
        <include base="ReactOS">include/wine</include>
index 9f7677d..2ef5430 100644 (file)
@@ -1,4 +1,4 @@
-<module name="shdocvw" type="win32dll" baseaddress="${BASEADDRESS_SHDOCVW}" installbase="system32" installname="shdocvw.dll" usewrc="false" warnings="true">
+<module name="shdocvw" type="win32dll" baseaddress="${BASEADDRESS_SHDOCVW}" installbase="system32" installname="shdocvw.dll" usewrc="false" allowwarnings="true">
        <importlibrary definition="shdocvw.spec.def" />
        <include base="shdocvw">.</include>
        <include base="ReactOS">include/wine</include>
index 2270ac0..383c604 100644 (file)
@@ -1,4 +1,4 @@
-<module name="shell32" type="win32dll" baseaddress="${BASEADDRESS_SHELL32}" installbase="system32" installname="shell32.dll" warnings="true">
+<module name="shell32" type="win32dll" baseaddress="${BASEADDRESS_SHELL32}" installbase="system32" installname="shell32.dll" allowwarnings="true">
        <importlibrary definition="shell32.spec.def" />
        <include base="shell32">.</include>
        <include base="ReactOS">include/wine</include>
index 95f6edd..277396f 100644 (file)
@@ -1,4 +1,4 @@
-<module name="shlwapi" type="win32dll" baseaddress="${BASEADDRESS_SHLWAPI}" installbase="system32" installname="shlwapi.dll" warnings="true">
+<module name="shlwapi" type="win32dll" baseaddress="${BASEADDRESS_SHLWAPI}" installbase="system32" installname="shlwapi.dll" allowwarnings="true">
        <importlibrary definition="shlwapi.spec.def" />
        <include base="shlwapi">.</include>
        <include base="ReactOS">include/wine</include>
index 6a97608..5525708 100644 (file)
@@ -1,4 +1,4 @@
-<module name="twain_32" type="win32dll" baseaddress="${BASEADDRESS_TWAIN_32}" installbase="system32" installname="twain_32.dll" warnings="true">
+<module name="twain_32" type="win32dll" baseaddress="${BASEADDRESS_TWAIN_32}" installbase="system32" installname="twain_32.dll" allowwarnings="true">
        <importlibrary definition="twain_32.def" />
        <include base="twain_32">.</include>
        <define name="__USE_W32API" />
index 41bc4ae..65184d6 100644 (file)
@@ -1,4 +1,4 @@
-<module name="urlmon" type="win32dll" baseaddress="${BASEADDRESS_URLMON}" installbase="system32" installname="urlmon.dll" warnings="true">
+<module name="urlmon" type="win32dll" baseaddress="${BASEADDRESS_URLMON}" installbase="system32" installname="urlmon.dll" allowwarnings="true">
        <importlibrary definition="urlmon.spec.def" />
        <include base="urlmon">.</include>
        <include base="ReactOS">include/wine</include>
index dbc0b01..eb3192a 100644 (file)
@@ -1,4 +1,4 @@
-<module name="user32" type="win32dll" baseaddress="${BASEADDRESS_USER32}" installbase="system32" installname="user32.dll" warnings="true">
+<module name="user32" type="win32dll" baseaddress="${BASEADDRESS_USER32}" installbase="system32" installname="user32.dll" allowwarnings="true">
        <importlibrary definition="user32.def" />
        <include base="user32">.</include>
        <include base="user32">include</include>
index 46b4e7a..2261d88 100644 (file)
@@ -1,4 +1,4 @@
-<module name="uxtheme" type="win32dll" baseaddress="${BASEADDRESS_UXTHEME}" installbase="system32" installname="uxtheme.dll" warnings="true">
+<module name="uxtheme" type="win32dll" baseaddress="${BASEADDRESS_UXTHEME}" installbase="system32" installname="uxtheme.dll" allowwarnings="true">
        <importlibrary definition="uxtheme.spec.def" />
        <include base="uxtheme">.</include>
        <include base="ReactOS">include/wine</include>
index a767b9a..1bc62b3 100644 (file)
@@ -1,4 +1,4 @@
-<module name="version" type="win32dll" baseaddress="${BASEADDRESS_VERSION}" installbase="system32" installname="version.dll" warnings="true">
+<module name="version" type="win32dll" baseaddress="${BASEADDRESS_VERSION}" installbase="system32" installname="version.dll" allowwarnings="true">
        <importlibrary definition="version.def" />
        <include base="ReactOS">include/wine</include>
        <define name="_DISABLE_TIDENTS" />
index 993f207..d9cb541 100644 (file)
@@ -1,4 +1,4 @@
-<module name="wininet" type="win32dll" baseaddress="${BASEADDRESS_WININET}" installbase="system32" installname="wininet.dll" warnings="true">
+<module name="wininet" type="win32dll" baseaddress="${BASEADDRESS_WININET}" installbase="system32" installname="wininet.dll" allowwarnings="true">
        <importlibrary definition="wininet.spec.def" />
        <include base="wininet">.</include>
        <include base="ReactOS">include/wine</include>
index e474028..a32ebe0 100644 (file)
@@ -1,4 +1,4 @@
-<module name="midimap" type="win32dll" baseaddress="${BASEADDRESS_MIDIMAP}" installbase="system32" installname="midimap.dll" warnings="true">
+<module name="midimap" type="win32dll" baseaddress="${BASEADDRESS_MIDIMAP}" installbase="system32" installname="midimap.dll" allowwarnings="true">
        <importlibrary definition="midimap.spec.def" />
        <include base="midimap">.</include>
        <include base="ReactOS">include/wine</include>
index c27987b..88bba78 100644 (file)
@@ -1,4 +1,4 @@
-<module name="wavemap" type="win32dll" baseaddress="${BASEADDRESS_WAVEMAP}" installbase="system32" installname="wavemap.dll" warnings="true">
+<module name="wavemap" type="win32dll" baseaddress="${BASEADDRESS_WAVEMAP}" installbase="system32" installname="wavemap.dll" allowwarnings="true">
        <importlibrary definition="msacm.spec.def" />
        <include base="wavemap">.</include>
        <include base="ReactOS">include/wine</include>
index 864efd7..b4d9339 100644 (file)
@@ -1,4 +1,4 @@
-<module name="winmm" type="win32dll" baseaddress="${BASEADDRESS_WINMM}" installbase="system32" installname="winmm.dll" warnings="true">
+<module name="winmm" type="win32dll" baseaddress="${BASEADDRESS_WINMM}" installbase="system32" installname="winmm.dll" allowwarnings="true">
        <importlibrary definition="winmm.spec.def" />
        <include base="winmm">.</include>
        <include base="ReactOS">include/wine</include>
index 7c7f71d..ae88172 100644 (file)
@@ -1,4 +1,4 @@
-<module name="advapi32_winetest" type="win32cui" installbase="bin" installname="advapi32_winetest.exe" warnings="true">
+<module name="advapi32_winetest" type="win32cui" installbase="bin" installname="advapi32_winetest.exe" allowwarnings="true">
     <include base="advapi32_winetest">.</include>
     <define name="__USE_W32API" />
     <library>advapi32</library>
index a6ad1f1..ee66fb4 100644 (file)
@@ -1,4 +1,4 @@
-<module name="comctl32_winetest" type="win32cui" installbase="bin" installname="comctl32_winetest.exe" warnings="true">
+<module name="comctl32_winetest" type="win32cui" installbase="bin" installname="comctl32_winetest.exe" allowwarnings="true">
     <include base="comctl32_winetest">.</include>
     <define name="__USE_W32API" />
     <library>shlwapi</library>
index e66cf80..5456767 100644 (file)
@@ -1,4 +1,4 @@
-<module name="gdi32_winetest" type="win32cui" installbase="bin" installname="gdi32_winetest.exe" warnings="true">
+<module name="gdi32_winetest" type="win32cui" installbase="bin" installname="gdi32_winetest.exe" allowwarnings="true">
     <include base="gdi32_winetest">.</include>
     <define name="__USE_W32API" />
     <library>ntdll</library>
index cc7957b..0953d52 100644 (file)
@@ -1,4 +1,4 @@
-<module name="kernel32_winetest" type="win32cui" installbase="bin" installname="kernel32_winetest.exe" warnings="true">
+<module name="kernel32_winetest" type="win32cui" installbase="bin" installname="kernel32_winetest.exe" allowwarnings="true">
     <include base="kernel32_winetest">.</include>
     <define name="__USE_W32API" />
     <library>ntdll</library>
index 4a7142a..6c6ba6c 100644 (file)
@@ -1,4 +1,4 @@
-<module name="msvcrt_winetest" type="win32cui" installbase="bin" installname="msvcrt_winetest.exe" warnings="true">
+<module name="msvcrt_winetest" type="win32cui" installbase="bin" installname="msvcrt_winetest.exe" allowwarnings="true">
     <include base="msvcrt_winetest">.</include>
     <define name="__USE_W32API" />
     <library>ntdll</library>
index f75eab9..470dcbe 100644 (file)
@@ -1,4 +1,4 @@
-<module name="ntdll_winetest" type="win32cui" installbase="bin" installname="ntdll_winetest.exe" warnings="true">
+<module name="ntdll_winetest" type="win32cui" installbase="bin" installname="ntdll_winetest.exe" allowwarnings="true">
     <include base="ntdll_winetest">.</include>
     <define name="__USE_W32API" />
     <library>ntdll</library>
index d0b44bd..4a570f6 100644 (file)
@@ -1,4 +1,4 @@
-<module name="psapi_winetest" type="win32cui" installbase="bin" installname="psapi_winetest.exe" warnings="true">
+<module name="psapi_winetest" type="win32cui" installbase="bin" installname="psapi_winetest.exe" allowwarnings="true">
     <include base="psapi_winetest">.</include>
     <define name="__USE_W32API" />
     <library>ntdll</library>
index 9088df7..6d4c4ac 100644 (file)
@@ -1,4 +1,4 @@
-<module name="setupapi_winetest" type="win32cui" installbase="bin" installname="setupapi_winetest.exe" warnings="true">
+<module name="setupapi_winetest" type="win32cui" installbase="bin" installname="setupapi_winetest.exe" allowwarnings="true">
     <include base="setupapi_winetest">.</include>
     <define name="__USE_W32API" />
     <library>ntdll</library>
index c30ba05..3b7ff98 100644 (file)
@@ -1,4 +1,4 @@
-<module name="shell32_winetest" type="win32cui" installbase="bin" installname="shell32_winetest.exe" warnings="true">
+<module name="shell32_winetest" type="win32cui" installbase="bin" installname="shell32_winetest.exe" allowwarnings="true">
     <include base="shell32_winetest">.</include>
     <define name="__USE_W32API" />
     <library>ntdll</library>
index 726ec5f..35a2589 100644 (file)
@@ -1,4 +1,4 @@
-<module name="shlwapi_winetest" type="win32cui" installbase="bin" installname="shlwapi_winetest.exe" warnings="true">
+<module name="shlwapi_winetest" type="win32cui" installbase="bin" installname="shlwapi_winetest.exe" allowwarnings="true">
     <include base="shlwapi_winetest">.</include>
     <define name="__USE_W32API" />
     <library>ntdll</library>
index 74142d3..e1a62b0 100644 (file)
@@ -1,4 +1,4 @@
-<module name="user32_winetest" type="win32cui" installbase="bin" installname="user32_winetest.exe" warnings="true">
+<module name="user32_winetest" type="win32cui" installbase="bin" installname="user32_winetest.exe" allowwarnings="true">
     <include base="user32_winetest">.</include>
     <define name="__USE_W32API" />
     <library>ntdll</library>
index 959a666..872405c 100644 (file)
@@ -1,4 +1,4 @@
-<module name="version_winetest" type="win32cui" installbase="bin" installname="version_winetest.exe" warnings="true">
+<module name="version_winetest" type="win32cui" installbase="bin" installname="version_winetest.exe" allowwarnings="true">
     <include base="version_winetest">.</include>
     <define name="__USE_W32API" />
     <library>ntdll</library>
index 98ee751..46efa47 100644 (file)
@@ -1,4 +1,4 @@
-<module name="dhcp" type="win32gui" installbase="system32" installname="dhcp.exe" warnings="true">
+<module name="dhcp" type="win32gui" installbase="system32" installname="dhcp.exe" allowwarnings="true">
        <include base="dhcp">.</include>
        <include base="dhcp">include</include>
        <define name="__USE_W32API" />
index fe1b926..6e2e8a3 100644 (file)
@@ -1,4 +1,4 @@
-<module name="format" type="win32cui" installbase="system32" installname="format.exe" warnings="true">
+<module name="format" type="win32cui" installbase="system32" installname="format.exe" allowwarnings="true">
        <include base="format">.</include>
        <define name="__USE_W32API" />
        <library>ntdll</library>
index 85beb67..03c29d5 100644 (file)
@@ -1,4 +1,4 @@
-<module name="hostname" type="win32cui" installbase="system32" installname="hostname.exe" warnings="true">
+<module name="hostname" type="win32cui" installbase="system32" installname="hostname.exe" allowwarnings="true">
        <define name="__USE_W32API" />
        <library>kernel32</library>
        <file>hostname.c</file>
index ad522e9..5cc27cf 100644 (file)
@@ -1,4 +1,4 @@
-<module name="msiexec" type="win32gui" installbase="system32" installname="msiexec.exe" warnings="true">
+<module name="msiexec" type="win32gui" installbase="system32" installname="msiexec.exe" allowwarnings="true">
        <include base="msiexec">.</include>
        <include base="ReactOS">include/wine</include>
        <define name="__REACTOS__" />
index 4820430..1fb5f22 100644 (file)
@@ -1,4 +1,4 @@
-<module name="usetup" type="nativecui" installbase="system32" installname="usetup.exe" warnings="true">
+<module name="usetup" type="nativecui" installbase="system32" installname="usetup.exe" allowwarnings="true">
        <bootstrap base="reactos/system32" nameoncd="smss.exe" />
        <include base="usetup">.</include>
        <include base="zlib">.</include>
index 3ed5008..bdb9c08 100644 (file)
@@ -1,4 +1,4 @@
-<module name="winefile" type="win32gui"  installbase="system32" installname="winefile.exe" warnings="true">
+<module name="winefile" type="win32gui"  installbase="system32" installname="winefile.exe" allowwarnings="true">
        <include base="winefile">.</include>
        <define name="UNICODE" />
        <define name="__USE_W32API" />
index 7a5c66a..d1bdbb0 100644 (file)
                <file>xpstubs.c</file>
        </directory>
 </module>
-<module name="win32k" type="kernelmodedriver" installbase="system32" installname="win32k.sys" warnings="true">
+<module name="win32k" type="kernelmodedriver" installbase="system32" installname="win32k.sys" allowwarnings="true">
        <importlibrary definition="win32k.def" />
        <library>win32k_base</library>
        <library>pseh</library>
index fc4a668..4c5d66e 100644 (file)
 
 #include "mingw.h"
 #include <assert.h>
-#ifndef _MSC_VER
+#ifdef _MSC_VER
+#define popen _popen
+#define pclose _pclose
+#else
 #include <dirent.h>
 #endif//_MSC_VER
 #include "modulehandler.h"
index c23063d..0182743 100644 (file)
@@ -1750,7 +1750,7 @@ MingwModuleHandler::GenerateOtherMacros ()
        string globalCflags = "-g";
        if ( backend->usePipe )
                globalCflags += " -pipe";
-       if ( !module.enableWarnings )
+       if ( !module.allowWarnings )
                globalCflags += " -Werror";
        
        fprintf (
index 13ce384..9cc6273 100644 (file)
         <section>
           <title>Syntax</title>
 
-          <para><programlisting>&lt;module if="${MP}" ifnot="${MP}" name="msvcrt" type="win32dll" extension=".dll" entrypoint="_DllMain@12" baseaddress="0x70000000" mangledsymbols="true" installbase="system32" installname="msvcrt.dll" usewrc="false" warnings="true" aliasof="module1"&gt;
+          <para><programlisting>&lt;module if="${MP}" ifnot="${MP}" name="msvcrt" type="win32dll" extension=".dll" entrypoint="_DllMain@12" baseaddress="0x70000000" mangledsymbols="true" installbase="system32" installname="msvcrt.dll" usewrc="false" allowwarnings="true" aliasof="module1"&gt;
   ...
 &lt;/module&gt;</programlisting></para>
         </section>
               </varlistentry>
 
               <varlistentry>
-                <term>warnings</term>
+                <term>allowwarnings</term>
 
                 <listitem>
                   <para>Error out if false and at least one warning is emitted
index 32dd7dc..a615b08 100644 (file)
@@ -107,7 +107,7 @@ Module element
 There can be zero or more modules per xml build file.
 
 Syntax:
-       <module if="${MP}" ifnot="${MP}" name="msvcrt" type="win32dll" extension=".dll" entrypoint="_DllMain@12" baseaddress="0x70000000" mangledsymbols="true" installbase="system32" installname="msvcrt.dll" usewrc="false" warnings="true" aliasof="module1">
+       <module if="${MP}" ifnot="${MP}" name="msvcrt" type="win32dll" extension=".dll" entrypoint="_DllMain@12" baseaddress="0x70000000" mangledsymbols="true" installbase="system32" installname="msvcrt.dll" usewrc="false" allowwarnings="true" aliasof="module1">
                ...
        </module>
 
@@ -123,7 +123,7 @@ Attributes:
        installbase - Base directory of the generated file in the installation directory. This attribute is optional.
        installname - Name of generated file in the installation directory. This attribute is optional, but if not specified, the generated file is not copied to the installation directory.
        usewrc - Use WRC to compile resources if true. If false, windres is used. This attribute is optional. If not specified, WRC will be used.
-       warnings - Error out if false and at least one warning is emitted during building of this module. This attribute is optional. If not specified, it is assumed to be false.
+       allowwarnings - Error out if false and at least one warning is emitted during building of this module. This attribute is optional. If not specified, it is assumed to be false.
        aliasof - Name of module that is aliased.
 Value:
        None.
index c2db4f6..30ec36e 100644 (file)
@@ -318,11 +318,20 @@ Module::Module ( const Project& project,
        else
                useWRC = true;
 
-       att = moduleNode.GetAttribute ( "warnings", false );
+       att = moduleNode.GetAttribute ( "allowwarnings", false );
+       if ( att == NULL )
+       {
+               att = moduleNode.GetAttribute ( "warnings", false );
+               if ( att != NULL )
+               {
+                       printf ( "%s: WARNING: 'warnings' attribute of <module> is deprecated, use 'allowwarnings' instead\n",
+                               moduleNode.location.c_str() );
+               }
+       }
        if ( att != NULL )
-               enableWarnings = att->value == "true";
+               allowWarnings = att->value == "true";
        else
-               enableWarnings = false;
+               allowWarnings = false;
 
        att = moduleNode.GetAttribute ( "aliasof", false );
        if ( type == Alias && att != NULL )
index daba6d2..3e995a7 100644 (file)
@@ -80,7 +80,7 @@
        installbase     %Text; #IMPLIED
        installname     %Text; #IMPLIED
        usewrc          %Text; #IMPLIED
-       warnings %Text; #IMPLIED
+       allowwarnings   (true|false) "false"
        aliasof %Text; #IMPLIED
 >
 
index 19be1f5..04d4afb 100644 (file)
@@ -233,7 +233,7 @@ public:
        std::string installName;
        std::string aliasedModuleName;
        bool useWRC;
-       bool enableWarnings;
+       bool allowWarnings;
        bool enabled;
 
        Module ( const Project& project,