Hi, directx/dxerr8.h and directx/dxerr9.h define the empty DXTRACE_MSG statement in the non-debug case as
#define DXTRACE_MSG(str) (0L) The "L" qualifier is useless here, so just remove it. Ok? Thanks, Corinna * directx/dxerr8.h (DXTRACE_MSG): Drop long qualifier from empty non-debug definition. * directx/dxerr9.h: Ditto. Index: directx/dxerr8.h =================================================================== --- directx/dxerr8.h (revision 5238) +++ directx/dxerr8.h (working copy) @@ -42,7 +42,7 @@ #define DXTRACE_ERR(str,hr) DXTrace(__FILE__,(DWORD)__LINE__,hr,str,TRUE) #define DXTRACE_ERR_NOMSGBOX(str,hr) DXTrace(__FILE__,(DWORD)__LINE__,hr,str,FALSE) #else -#define DXTRACE_MSG(str) (0L) +#define DXTRACE_MSG(str) (0) #define DXTRACE_ERR(str,hr) (hr) #define DXTRACE_ERR_NOMSGBOX(str,hr) (hr) #endif Index: directx/dxerr9.h =================================================================== --- directx/dxerr9.h (revision 5238) +++ directx/dxerr9.h (working copy) @@ -42,7 +42,7 @@ #define DXTRACE_ERR(str,hr) DXTrace(__FILE__,(DWORD)__LINE__,hr,str,FALSE) #define DXTRACE_ERR_MSGBOX(str,hr) DXTrace(__FILE__,(DWORD)__LINE__,hr,str,TRUE) #else -#define DXTRACE_MSG(str) (0L) +#define DXTRACE_MSG(str) (0) #define DXTRACE_ERR(str,hr) (hr) #define DXTRACE_ERR_MSGBOX(str,hr) (hr) #endif ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public