Home GnuPG
Diffusion Scute a3dc060e32a5

Fix gcc warnings when building for Windows.

Description

Fix gcc warnings when building for Windows.

* m4/estream.m4: Remove file.
* configure.ac (estream_PRINTF_INIT): Remove.  Estream is part of
libgpg-error.
(AC_CHECK_FUNCS): Move to a later place.
* src/agent.c [W32]: Explictly include winsock2.h to avoid a warning.
(gnupg_allow_set_foregound_window): Fix printf warning.
* src/support.h (ttyname): Mark unsused arg.
(stpcpy): Move to ...
* src/get-path.c (my_stpcpy): here.  Use macros to get around warning
pertaining to the gcc built-in.
(dlopen): Mark unused arg.
  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Feb 20 2019, 1:14 PM
Parents
rS6f61c173cf2b: Update gpg-error.m4 and create ChangeLog.
Branches
Unknown
Tags
Unknown