diff --git a/reactos/lib/freetype/Makefile b/reactos/lib/freetype/Makefile index cbcd674bce5..1f0b39036db 100644 --- a/reactos/lib/freetype/Makefile +++ b/reactos/lib/freetype/Makefile @@ -1,4 +1,4 @@ -# $Id: Makefile,v 1.10 2004/08/01 23:27:55 navaraf Exp $ +# $Id: Makefile,v 1.11 2004/08/20 15:19:38 navaraf Exp $ PATH_TO_TOP = ../.. @@ -39,9 +39,9 @@ all: $(MK_FULLNAME) $(MK_NOSTRIPNAME) objs/*.o objs/libfreetype.a: ifeq ($(DBG), 1) - @$(MAKE) -f Makefile.freetype CFLAGS="-c -g -Wall" CC:=$(CC) + @$(MAKE) -f Makefile.freetype CFLAGS="-c -g -Wall -fno-strict-aliasing" CC:=$(CC) else - @$(MAKE) -f Makefile.freetype CFLAGS="-c -Wall -O3" CC:=$(CC) + @$(MAKE) -f Makefile.freetype CFLAGS="-c -Wall -O3 -fno-strict-aliasing" CC:=$(CC) endif # Automatic dependency tracking diff --git a/reactos/lib/iphlpapi/resinfo_reactos.c b/reactos/lib/iphlpapi/resinfo_reactos.c index a880a7172d9..0965a50ce4e 100644 --- a/reactos/lib/iphlpapi/resinfo_reactos.c +++ b/reactos/lib/iphlpapi/resinfo_reactos.c @@ -54,7 +54,7 @@ PIPHLP_RES_INFO getResInfo() { sizeof(PIPHLP_RES_INFO) ); if( InfoPtr ) { InfoPtr->riCount = 0; - InfoPtr->riAddressList = (LPSOCKADDR)0; + InfoPtr->riAddressList = NULL; } return InfoPtr; diff --git a/reactos/lib/msvcrt/wine/cppexcept.c b/reactos/lib/msvcrt/wine/cppexcept.c index 3fa97148f3b..80c1554020e 100644 --- a/reactos/lib/msvcrt/wine/cppexcept.c +++ b/reactos/lib/msvcrt/wine/cppexcept.c @@ -303,8 +303,8 @@ inline static void *call_catch_block( PEXCEPTION_RECORD rec, cxx_exception_frame /* setup an exception block for nested exceptions */ //nested_frame.frame.Handler = catch_function_nested_handler; - nested_frame.frame.handler = catch_function_nested_handler; - nested_frame.prev_rec = thread_data->exc_record; + nested_frame.frame.handler = (PEXCEPTION_HANDLER)catch_function_nested_handler; + nested_frame.prev_rec = thread_data->exc_record; nested_frame.cxx_frame = frame; nested_frame.descr = descr; nested_frame.trylevel = nested_trylevel + 1; diff --git a/reactos/lib/msvcrt/wine/main.c b/reactos/lib/msvcrt/wine/main.c index 528b95963d4..eb5791bba88 100644 --- a/reactos/lib/msvcrt/wine/main.c +++ b/reactos/lib/msvcrt/wine/main.c @@ -54,7 +54,7 @@ static inline BOOL msvcrt_init_tls(void); static inline BOOL msvcrt_free_tls(void); //const char* msvcrt_get_reason(DWORD reason) WINE_UNUSED; -typedef void* (*MSVCRT_malloc_func)(MSVCRT_size_t); +typedef void* (*MSVCRT_malloc_func)(size_t); char* MSVCRT___unDName(char *,const char*,int,MSVCRT_malloc_func,MSVCRT_free_func,unsigned short int); char* MSVCRT___unDNameEx(char *,const char*,int,MSVCRT_malloc_func,MSVCRT_free_func,void *,unsigned short int); diff --git a/reactos/lib/msvcrt/wine/thread.c b/reactos/lib/msvcrt/wine/thread.c index aa741701b5e..ff64b9cfc3b 100644 --- a/reactos/lib/msvcrt/wine/thread.c +++ b/reactos/lib/msvcrt/wine/thread.c @@ -28,6 +28,8 @@ WINE_DEFAULT_DEBUG_CHANNEL(msvcrt); +void _amsg_exit (int errnum); + /********************************************************************/ typedef struct { diff --git a/reactos/subsys/system/explorer/notifyhook/Makefile b/reactos/subsys/system/explorer/notifyhook/Makefile index eadcf539980..769f939952a 100644 --- a/reactos/subsys/system/explorer/notifyhook/Makefile +++ b/reactos/subsys/system/explorer/notifyhook/Makefile @@ -5,6 +5,7 @@ TARGET_CFLAGS := -D__USE_W32API -D_WIN32_IE=0x0600 -Wall -D_NOTIFYHOOK_IMPL TARGET_NORC := yes TARGET_DEFONLY := yes TARGET_OBJECTS := notifyhook.o +TARGET_LFLAGS := -nostartfiles TARGET_BASE = $(TARGET_BASE_LIB_NOTIFYHOOK) include $(PATH_TO_TOP)/rules.mak diff --git a/reactos/subsys/win32k/tests/tests/eng-mem-1.c b/reactos/subsys/win32k/tests/tests/eng-mem-1.c index 580e83ce2b7..e2ee59c91dc 100644 --- a/reactos/subsys/win32k/tests/tests/eng-mem-1.c +++ b/reactos/subsys/win32k/tests/tests/eng-mem-1.c @@ -13,14 +13,14 @@ static int RunTest(char *Buffer) /* Allocate memory with EngAllocMem */ pmem1 = 0; AllocSize1 = 1024; - AllocTag1 = "zyxD"; + AllocTag1 = TAG('D','x','y','z'); pmem1 = EngAllocMem(FL_ZERO_MEMORY, AllocSize1, AllocTag1); FAIL_IF_EQUAL(pmem1, 0, "EngAllocMem() for pmem1 failed"); /* Allocate memory with EngAllocMem */ pmem2 = 0; AllocSize2 = 1024; - AllocTag2 = "zyxD"; + AllocTag2 = TAG('D','x','y','z'); pmem2 = EngAllocUserMem(AllocSize2, AllocTag2); FAIL_IF_EQUAL(pmem1, 0, "EngAllocUserMem() for pmem2 failed");