mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 01:24:38 +00:00
compile release builds with -O3 instead of -Os because it catches more mistakes
svn path=/trunk/; revision=16951
This commit is contained in:
parent
305aa85bd7
commit
5d4a08e403
6 changed files with 7 additions and 6 deletions
|
@ -18,7 +18,7 @@
|
|||
<property name="DBG_OR_KDBG" value="true" />
|
||||
</if>
|
||||
<if property="DBG" value="0">
|
||||
<compilerflag>-Os</compilerflag>
|
||||
<compilerflag>-O3</compilerflag>
|
||||
<compilerflag>-Wno-strict-aliasing</compilerflag>
|
||||
<compilerflag>-ftracer</compilerflag>
|
||||
<compilerflag>-momit-leaf-frame-pointer</compilerflag>
|
||||
|
|
|
@ -187,7 +187,7 @@ SerenumFdoPnp(
|
|||
{
|
||||
case BusRelations:
|
||||
{
|
||||
PDEVICE_RELATIONS DeviceRelations;
|
||||
PDEVICE_RELATIONS DeviceRelations = NULL;
|
||||
DPRINT("Serenum: IRP_MJ_PNP / IRP_MN_QUERY_DEVICE_RELATIONS / BusRelations\n");
|
||||
Status = SerenumFdoQueryBusRelations(DeviceObject, &DeviceRelations);
|
||||
Information = (ULONG_PTR)DeviceRelations;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<module name="adns" type="staticlibrary">
|
||||
<module name="adns" type="staticlibrary" warnings="true">
|
||||
<include base="adns">src</include>
|
||||
<include base="adns">adns_win32</include>
|
||||
<define name="__USE_W32API" />
|
||||
|
|
|
@ -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" />
|
||||
<include base="twain_32">.</include>
|
||||
<define name="__USE_W32API" />
|
||||
|
|
|
@ -251,8 +251,8 @@ IoAttachDevice(PDEVICE_OBJECT SourceDevice,
|
|||
PDEVICE_OBJECT *AttachedDevice)
|
||||
{
|
||||
NTSTATUS Status;
|
||||
PFILE_OBJECT FileObject;
|
||||
PDEVICE_OBJECT TargetDevice;
|
||||
PFILE_OBJECT FileObject = NULL;
|
||||
PDEVICE_OBJECT TargetDevice = NULL;
|
||||
|
||||
/* Call the helper routine for an attach operation */
|
||||
DPRINT("IoAttachDevice\n");
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
<define name="__USE_W32API" />
|
||||
<define name="_DISABLE_TIDENTS" />
|
||||
<define name="_WIN32_WINNT">0x0502</define>
|
||||
<define name="__NO_CTYPE_INLINES" />
|
||||
<linkerflag>-lgcc</linkerflag>
|
||||
<library>zlib</library>
|
||||
<library>vfatlib</library>
|
||||
|
|
Loading…
Reference in a new issue