<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.16587" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2><SPAN class=156075311-06052008>The following patch
removes some more warnings from our build.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Index:
Q:/projinf3/trunk/ulp/opensm/user/libvendor/SOURCES<BR>===================================================================<BR>---
Q:/projinf3/trunk/ulp/opensm/user/libvendor/SOURCES (revision 2404)<BR>+++
Q:/projinf3/trunk/ulp/opensm/user/libvendor/SOURCES (revision 2405)<BR>@@
-18,6 +18,7
@@<BR> !endif<BR> <BR> USE_NTDLL=1<BR>+USE_NATIVE_EH=1<BR> OVR_DIR=..\addon<BR> <BR> <BR>@@
-45,7 +46,7 @@<BR> $(WINIBHOME)\inc\user;<BR> <BR> # Could
be any special flag needed for this project <BR>-USER_C_FLAGS=$(USER_C_FLAGS)
/Ze<BR>+USER_C_FLAGS=$(USER_C_FLAGS) <BR> #Add preproccessor
definitions<BR> C_DEFINES=$(C_DEFINES) -DWIN32 -D__WIN__ -D__i386__
-Dinline=__inline -DMT_LITTLE_ENDIAN
-DOSM_VENDOR_INTF_AL<BR> C_DEFINES=$(C_DEFINES) -I..
-DHAVE_CONFIG_H<BR>Index:
Q:/projinf3/trunk/hw/mlx4/user/hca/mlx4_debug.h<BR>===================================================================<BR>---
Q:/projinf3/trunk/hw/mlx4/user/hca/mlx4_debug.h (revision 2404)<BR>+++
Q:/projinf3/trunk/hw/mlx4/user/hca/mlx4_debug.h (revision 2405)<BR>@@
-106,15 +106,17 @@<BR> <BR> #if DBG<BR> <BR>+<BR>+extern const
int MLX4_PRINT_HELPER;<BR>+<BR> #define
MLX4_PRINT(_level_,_flags_,_msg_) \<BR> if ((_level_) <=
g_mlx4_dbg_level && (_flags_) & g_mlx4_dbg_flags)
{\<BR>
_MLX4_PRINT("[MLX4]
%s():",__FUNCTION__);\<BR>-
if((_level_) == TRACE_LEVEL_ERROR) _MLX4_PRINT ("***ERROR***
");\<BR>+
if((_level_ | MLX4_PRINT_HELPER) == TRACE_LEVEL_ERROR) _MLX4_PRINT
("***ERROR*** ");\<BR> _MLX4_PRINT _msg_
; \<BR> }<BR> <BR> <BR>-//<BR> #else<BR> <BR> #define
MLX4_PRINT(lvl ,flags, msg) <BR>Index:
Q:/projinf3/trunk/hw/mlx4/user/hca/mlx4_debug.c<BR>===================================================================<BR>---
Q:/projinf3/trunk/hw/mlx4/user/hca/mlx4_debug.c (revision 2404)<BR>+++
Q:/projinf3/trunk/hw/mlx4/user/hca/mlx4_debug.c (revision 2405)<BR>@@ -41,6
+41,7 @@<BR> #if DBG <BR> uint32_t g_mlx4_dbg_level =
TRACE_LEVEL_WARNING;<BR> uint32_t g_mlx4_dbg_flags= MLX4_DBG_QP |
MLX4_DBG_CQ | MLX4_DBG_MEMORY;<BR>+const int MLX4_PRINT_HELPER =
0;<BR> #endif<BR> <BR> VOID<BR>@@ -53,7 +54,7 @@<BR> #if
DBG<BR> #define
TEMP_BUFFER_SIZE
1024<BR> va_list
list;<BR>- UCHAR
debugMessageBuffer[TEMP_BUFFER_SIZE];<BR>+
CHAR
debugMessageBuffer[TEMP_BUFFER_SIZE];<BR> HRESULT
result;<BR> <BR> va_start(list,
msg);<BR></DIV></FONT></BODY></HTML>