[ros-dev] ntoskrnl/ex/i386/interlck_asm.S fails to compile due to EFLAG_SELECT

Alex Buell alex.buell at munted.org.uk
Sat Dec 31 20:20:19 CET 2005


On Sat, 31 Dec 2005 19:09:37 +0100 "Ge van Geldorp" <gvg at reactos.org>
waved a wand and this message magically appeared:

> 
> Index: include/ndk/asm.h
> ===================================================================
> --- include/ndk/asm.h   (revision 20477)
> +++ include/ndk/asm.h   (working copy)
> @@ -291,7 +291,7 @@
>  #define EFLAGS_VIP                              0x100000
>  #define EFLAG_SIGN                              0x8000
>  #define EFLAG_ZERO                              0x4000
> -#define EFLAG_SELECT                            (EFLAG_SIGN | EFLAG_ZERO)
> +#define EFLAG_SELECT                            (EFLAG_SIGN + EFLAG_ZERO)
 
Nah, I tried that and it resulted in the following:

[PCH]      obj-i386/boot/freeldr/freeldr/include/freeldr.h.gch
In file included from include/ndk/ntndk.h:61,
                 from boot/freeldr/freeldr/include/freeldr.h:28:
include/ndk/asm.h:294:1: "EFLAG_SELECT" redefined
In file included from w32api/include/ddk/ntddk.h:72,
                 from boot/freeldr/freeldr/include/freeldr.h:27:
w32api/include/ddk/winddk.h:4958:1: this is the location of the
previous definition make[1]: ***
[obj-i386/boot/freeldr/freeldr/include/freeldr.h.gch] Error 1 make[1]:
Leaving directory `/home/alex/src/OpSys/reactos'


-- 
http://www.munted.org.uk

Anyone that thinks an imaginary deity is going to protect them against 
earthquakes and hurricanes needs psychiatric help.


More information about the Ros-dev mailing list