diff --git a/reactos/include/c++/typeinfo b/reactos/include/c++/typeinfo index 0db99292e9b..b364733e4e9 100644 --- a/reactos/include/c++/typeinfo +++ b/reactos/include/c++/typeinfo @@ -13,7 +13,7 @@ namespace std class type_info { public: virtual ~type_info(); - bool before (const type_info& rhs) const; + bool before (const type_info& arg) const { return __name < __arg.__name; } bool operator==(const type_info& __arg) const { return __name == __arg.__name; } diff --git a/reactos/lib/sdk/crt/msvcrtex.cmake b/reactos/lib/sdk/crt/msvcrtex.cmake index 62b6dcf1bde..b54f1766334 100644 --- a/reactos/lib/sdk/crt/msvcrtex.cmake +++ b/reactos/lib/sdk/crt/msvcrtex.cmake @@ -62,7 +62,7 @@ else() endif() add_library(msvcrtex ${MSVCRTEX_SOURCE}) -add_target_compile_definitions(msvcrtex _M_CEE_PURE) +add_target_compile_definitions(msvcrtex _DLL) set_source_files_properties(startup/crtdll.c PROPERTIES COMPILE_DEFINITIONS CRTDLL) if(NOT MSVC) diff --git a/reactos/ntoskrnl/ke/i386/cpu.c b/reactos/ntoskrnl/ke/i386/cpu.c index f40e6308fb9..f07b6906327 100644 --- a/reactos/ntoskrnl/ke/i386/cpu.c +++ b/reactos/ntoskrnl/ke/i386/cpu.c @@ -1289,7 +1289,7 @@ KiIsNpxErrataPresent(VOID) fdiv Value2 fmul Value2 fld Value1 - fsubp + fsubp st(1), st(0) fistp ErrataPresent }; #endif