Author: arty
Date: Wed Apr 11 10:23:48 2007
New Revision: 26319
URL:
http://svn.reactos.org/svn/reactos?rev=26319&view=rev
Log:
Tweaks for gcc 4.
Modified:
branches/powerpc/reactos/ReactOS-ppc.rbuild
branches/powerpc/reactos/include/psdk/winnt.h
Modified: branches/powerpc/reactos/ReactOS-ppc.rbuild
URL:
http://svn.reactos.org/svn/reactos/branches/powerpc/reactos/ReactOS-ppc.rbu…
==============================================================================
--- branches/powerpc/reactos/ReactOS-ppc.rbuild (original)
+++ branches/powerpc/reactos/ReactOS-ppc.rbuild Wed Apr 11 10:23:48 2007
@@ -32,6 +32,7 @@
<compilerflag>-meabi</compilerflag>
<compilerflag>-O2</compilerflag>
<compilerflag>-Wno-strict-aliasing</compilerflag>
+ <compilerflag>-Wno-trampolines</compilerflag>
<if property="MP" value="1">
<define name="CONFIG_SMP" value="1" />
</if>
Modified: branches/powerpc/reactos/include/psdk/winnt.h
URL:
http://svn.reactos.org/svn/reactos/branches/powerpc/reactos/include/psdk/wi…
==============================================================================
--- branches/powerpc/reactos/include/psdk/winnt.h (original)
+++ branches/powerpc/reactos/include/psdk/winnt.h Wed Apr 11 10:23:48 2007
@@ -63,7 +63,7 @@
#define FORCEINLINE __inline
#else
#ifdef _PPC_
-#define FORCEINLINE __inline
+#define FORCEINLINE __inline __attribute__((unused)) __attribute__((weak))
#else
#define FORCEINLINE static __attribute__((unused))
#endif