On Fri, 3 Mar 2006, Mike McCormack wrote:
ChangeLog: Eliminate some gcc 4.1 warnings caused by casts in macros.
What are these warnings? What is causing them?
- TreeView_SetImageList(tree, hImageList, TVSIL_STATE);
- SendMessageW( tree, LVM_SETIMAGELIST, TVSIL_STATE, (LPARAM)hImageList );
Do we really have to give up on the macros and use SendMessage directly to avoid the warnings? If we do, then I would say this means the macros are broken because it means Winelib users will get the same problem we do and will have to modify their code or live with gobs of warnings.
So, is there a way to fix the macros?