Author: dgorbachev
Date: Sun Sep 13 20:51:44 2009
New Revision: 43038
URL:
http://svn.reactos.org/svn/reactos?rev=43038&view=rev
Log:
Silence compiler warnings for all GCC 4.4.x versions.
Modified:
trunk/reactos/dll/win32/ws2_32_new/src/select.c
trunk/reactos/drivers/wdm/audio/backpln/portcls/unregister.cpp
Modified: trunk/reactos/dll/win32/ws2_32_new/src/select.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/ws2_32_new/src/s…
==============================================================================
--- trunk/reactos/dll/win32/ws2_32_new/src/select.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/ws2_32_new/src/select.c [iso-8859-1] Sun Sep 13 20:51:44 2009
@@ -53,8 +53,8 @@
DPRINT("select: %lx %p %p %p %p\n", s, readfds, writefds, exceptfds,
timeout);
#if defined(__GNUC__) && \
- (__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__ == 40400)
- /* Silence incorrect GCC 4.4.0 warning */
+ (__GNUC__ * 100 + __GNUC_MINOR__ == 404)
+ /* Silence incorrect GCC 4.4.x warning */
Handle = 0;
#endif
Modified: trunk/reactos/drivers/wdm/audio/backpln/portcls/unregister.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/wdm/audio/backpln/…
==============================================================================
--- trunk/reactos/drivers/wdm/audio/backpln/portcls/unregister.cpp [iso-8859-1]
(original)
+++ trunk/reactos/drivers/wdm/audio/backpln/portcls/unregister.cpp [iso-8859-1] Sun Sep 13
20:51:44 2009
@@ -76,8 +76,8 @@
PC_ASSERT_IRQL_EQUAL(PASSIVE_LEVEL);
#if defined(__GNUC__) && \
- (__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__ == 40400)
- /* Silence incorrect GCC 4.4.0 warning */
+ (__GNUC__ * 100 + __GNUC_MINOR__ == 404)
+ /* Silence incorrect GCC 4.4.x warning */
SubDeviceEntry = NULL;
#endif