Author: cfinck Date: Thu Feb 7 23:49:58 2008 New Revision: 32198
URL: http://svn.reactos.org/svn/reactos?rev=32198&view=rev Log: Revert the winddk.h changes of r32197 to make the hal compilable again without any warnings. Someone (preferably ros-arm-bringup ;-), please fix this correctly.
The warning is caused, because after the change in r32197, KeRaiseIrqlToSynchLevel is defined as NTKERNELAPI for all architectures. NTKERNELAPI itself is defined to DECLSPEC_IMPORT if the header is not included from ntoskrnl. This is why hal outputs a warning for its KeRaiseIrqlToSynchLevel implementation. As warnings are treated as errors for hal, the build fails.
Modified: trunk/reactos/include/ddk/winddk.h
Modified: trunk/reactos/include/ddk/winddk.h URL: http://svn.reactos.org/svn/reactos/trunk/reactos/include/ddk/winddk.h?rev=32... ============================================================================== --- trunk/reactos/include/ddk/winddk.h (original) +++ trunk/reactos/include/ddk/winddk.h Thu Feb 7 23:49:58 2008 @@ -9495,6 +9495,12 @@ KeRaiseIrqlToDpcLevel( VOID);
+NTHALAPI +KIRQL +DDKAPI +KeRaiseIrqlToSynchLevel( + VOID); + #define KeLowerIrql(a) KfLowerIrql(a) #define KeRaiseIrql(a,b) *(b) = KfRaiseIrql(a)
@@ -9581,15 +9587,14 @@ KeRaiseIrqlToDpcLevel( VOID);
-#endif - NTKERNELAPI KIRQL DDKAPI KeRaiseIrqlToSynchLevel( VOID);
- +#endif + /** Memory manager routines **/
NTKERNELAPI