Home GnuPG

w32: Remove compiler warnings.
eaec10f48803Unpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

w32: Remove compiler warnings.

* src/Makefile.am (pre_mkheader_cmds): Avoid make diagnostic about
failed but ignored command.  This confuses Emacs' compiler job parser.
* tests/t-lock.c [W32]: Include time.h.
* src/init.c: Reorganize Windows only code.
(wchar_to_utf8, utf8_to_wchar): Remove unused functions.
(_gpg_err_set_errno): Use only one copy for all platforms.

Note that there is a still a problem for W64 pertaining to the use of
an int to store a HANDLE. This will be fixed when we add a full
abstraction layer for Windows file objects.

Details

Provenance
wernerAuthored on Apr 10 2015, 10:52 AM
Parents
rE56feff58d4fa: Use assert to print diagnosicts before calling abort.
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rEeaec10f48803: w32: Remove compiler warnings. (authored by Werner Koch <wk@gnupg.org>).Apr 10 2015, 10:53 AM