warning C4554: '&' in CResizableFrame::OnWindowPosChanging
A set of MFC classes to easily make resizable windows
Brought to you by:
ppescher
void CResizableFrame::OnWindowPosChanging(WINDOWPOS FAR* lpwndpos)
{
if (lpwndpos->flags & (SWP_NOSIZE|SWP_NOMOVE) != (SWP_NOSIZE|SWP_NOMOVE))
...
}
warning C4554: '&' : check operator precedence for possible error; use parentheses to clarify precedence
should be
if ( (lpwndpos->flags & (SWP_NOSIZE|SWP_NOMOVE) ) != (SWP_NOSIZE|SWP_NOMOVE))
Andreas.
Thanks, already noticed. I happened to compile the lib on VS2008 ;-)