[Lazarus] Errors in win32winapi.inc and elsewhere spotted by compiler
skalogryz.lists at gmail.com
Tue Mar 24 21:40:45 CET 2015
On Tue, Mar 24, 2015 at 4:36 PM, Dmitry Boyarintsev <
skalogryz.lists at gmail.com> wrote:
> hmm... or is DrawEdge declaration wrong having ARect be passed as "const"
> rather than "var"?
> it's var!
function DrawEdge(hdc: HDC; var qrc: TRect; edge: UINT; grfFlags: UINT):
BOOL; external 'user32' name 'DrawEdge';
Imho, the compiler should be adjusted for these cases not to give a note.
Since number of iterations is important in this case, not the iterator
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Lazarus