help-libtasn1
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

libtasn1-4.9 build on MS-Windows with MinGW


From: Eli Zaretskii
Subject: libtasn1-4.9 build on MS-Windows with MinGW
Date: Sun, 02 Oct 2016 10:48:36 +0300

Hi,

I've built libtasn1-4.9 with MinGW on MS-Windows, and bumped into the
following 2 minor issues:

1. Compilation of benchmark.c fails:

       CC       benchmark.o
     benchmark.c:34:1: error: no previous prototype for 'alarm_handler' 
[-Werror=missing-prototypes]
      alarm_handler (LPVOID lpParameter)
      ^
     cc1.exe: all warnings being treated as errors
     Makefile:1012: recipe for target `benchmark.o' failed

   The solution is to make alarm_handler static, as it is on Posix
   platforms.

2. Two tests fail: Test_choice_ocsp and ocsp-basic-response.

   This is because they open binary files with 'fopen' using the "r"
   mode.  The solution is to use the "rb" mode instead.

Thanks for developing libtasn1.

P.S. Please CC me on any responses, as I'm not subscribed to this
list.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]