On Thu, 27 Nov 2008, Pritpal Bedi wrote:
Hi Pritpal,
> Now the warning with MAKELPARAM() where parenthis are suggested remains.
It's a problem inside BCC header files.
They are full of code which exploits BCC warnings.
In newer BCC the situation is even worse :-(. Old problems
still exists and new one appeared.
To fix it you will have to redefine MAKELONG() macro and add missing
parenthesis compiler asking for:
#if defined(__BORLANDC__) && !defined(HB_ARCH_64BIT)
#undef MAKELONG
#define MAKELONG ((LONG)(((WORD)((DWORD_PTR)(a) & 0xffff)) | \
(((DWORD)((WORD)((DWORD_PTR)(b) & 0xffff))) << 16)))
#endif
best regards,
Przemek
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour