[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Warnings in mingw64 build on emacs-28 branch
From: |
Eli Zaretskii |
Subject: |
Re: Warnings in mingw64 build on emacs-28 branch |
Date: |
Sun, 07 Nov 2021 21:30:29 +0200 |
> From: Óscar Fuentes <ofv@wanadoo.es>
> Date: Sun, 07 Nov 2021 20:25:21 +0100
>
> As for the warning, I think it is because a const void* is passed to
> VirtualQuery pointing to an uninitialized object.
I don't understand why the compiler thinks the object must be
initialized for its pointer to be valid. Does the compiler assume
something about what VirtualQuery does? Why does it think the
function will dereference the pointer?
Re: Warnings in mingw64 build on emacs-28 branch, Andy Moreton, 2021/11/07