compile release builds with -O3 instead of -Os because it catches more mistakes

svn path=/trunk/; revision=16951
This commit is contained in:
Thomas Bluemel 2005-08-01 12:57:34 +00:00
parent 305aa85bd7
commit 5d4a08e403
6 changed files with 7 additions and 6 deletions

View file

@ -18,7 +18,7 @@
<property name="DBG_OR_KDBG" value="true" /> <property name="DBG_OR_KDBG" value="true" />
</if> </if>
<if property="DBG" value="0"> <if property="DBG" value="0">
<compilerflag>-Os</compilerflag> <compilerflag>-O3</compilerflag>
<compilerflag>-Wno-strict-aliasing</compilerflag> <compilerflag>-Wno-strict-aliasing</compilerflag>
<compilerflag>-ftracer</compilerflag> <compilerflag>-ftracer</compilerflag>
<compilerflag>-momit-leaf-frame-pointer</compilerflag> <compilerflag>-momit-leaf-frame-pointer</compilerflag>

View file

@ -187,7 +187,7 @@ SerenumFdoPnp(
{ {
case BusRelations: case BusRelations:
{ {
PDEVICE_RELATIONS DeviceRelations; PDEVICE_RELATIONS DeviceRelations = NULL;
DPRINT("Serenum: IRP_MJ_PNP / IRP_MN_QUERY_DEVICE_RELATIONS / BusRelations\n"); DPRINT("Serenum: IRP_MJ_PNP / IRP_MN_QUERY_DEVICE_RELATIONS / BusRelations\n");
Status = SerenumFdoQueryBusRelations(DeviceObject, &DeviceRelations); Status = SerenumFdoQueryBusRelations(DeviceObject, &DeviceRelations);
Information = (ULONG_PTR)DeviceRelations; Information = (ULONG_PTR)DeviceRelations;

View file

@ -1,4 +1,4 @@
<module name="adns" type="staticlibrary"> <module name="adns" type="staticlibrary" warnings="true">
<include base="adns">src</include> <include base="adns">src</include>
<include base="adns">adns_win32</include> <include base="adns">adns_win32</include>
<define name="__USE_W32API" /> <define name="__USE_W32API" />

View file

@ -1,4 +1,4 @@
<module name="twain_32" type="win32dll" baseaddress="${BASEADDRESS_TWAIN_32}" installbase="system32" installname="twain_32.dll"> <module name="twain_32" type="win32dll" baseaddress="${BASEADDRESS_TWAIN_32}" installbase="system32" installname="twain_32.dll" warnings="true">
<importlibrary definition="twain_32.def" /> <importlibrary definition="twain_32.def" />
<include base="twain_32">.</include> <include base="twain_32">.</include>
<define name="__USE_W32API" /> <define name="__USE_W32API" />

View file

@ -251,8 +251,8 @@ IoAttachDevice(PDEVICE_OBJECT SourceDevice,
PDEVICE_OBJECT *AttachedDevice) PDEVICE_OBJECT *AttachedDevice)
{ {
NTSTATUS Status; NTSTATUS Status;
PFILE_OBJECT FileObject; PFILE_OBJECT FileObject = NULL;
PDEVICE_OBJECT TargetDevice; PDEVICE_OBJECT TargetDevice = NULL;
/* Call the helper routine for an attach operation */ /* Call the helper routine for an attach operation */
DPRINT("IoAttachDevice\n"); DPRINT("IoAttachDevice\n");

View file

@ -5,6 +5,7 @@
<define name="__USE_W32API" /> <define name="__USE_W32API" />
<define name="_DISABLE_TIDENTS" /> <define name="_DISABLE_TIDENTS" />
<define name="_WIN32_WINNT">0x0502</define> <define name="_WIN32_WINNT">0x0502</define>
<define name="__NO_CTYPE_INLINES" />
<linkerflag>-lgcc</linkerflag> <linkerflag>-lgcc</linkerflag>
<library>zlib</library> <library>zlib</library>
<library>vfatlib</library> <library>vfatlib</library>