[ros-diffs] [arty] 26319: Tweaks for gcc 4.

arty at svn.reactos.org arty at svn.reactos.org
Wed Apr 11 08:23:48 CEST 2007


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.rbuild?rev=26319&r1=26318&r2=26319&view=diff
==============================================================================
--- 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/winnt.h?rev=26319&r1=26318&r2=26319&view=diff
==============================================================================
--- 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




More information about the Ros-diffs mailing list