bug-gnulib
[Top][All Lists]
Advanced

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

Re: flockfile undefined on Mingw64 platform


From: Bruno Haible
Subject: Re: flockfile undefined on Mingw64 platform
Date: Thu, 11 May 2017 21:51:12 +0200
User-agent: KMail/5.1.3 (Linux/4.4.0-75-generic; KDE/5.18.0; x86_64; ; )

Daniel P. Berrange wrote:
> gettimeofday.c:42:1: warning: 'initialize' defined but not used 
> [-Wunused-function]
>  initialize (void)
>  ^~~~~~~~~~

Should be fixed through the gettimeofday change of today.

> I'm trying to build libvirt with the latest GNULIB git master, on Mingw64
> platform (Fedora 25 based).
> 
> I get compile warnings:
> 
> getopt.c: In function 'process_long_option':
> getopt.c:281:5: warning: implicit declaration of function 'flockfile' 
> [-Wimplicit-function-declaration]
>      flockfile (stderr);
>      ^~~~~~~~~
> getopt.c:295:5: warning: implicit declaration of function 'funlockfile' 
> [-Wimplicit-function-declaration]
>      funlockfile (stderr);
>      ^~~~~~~~~~~

I'll leave this to Paul and/or Zack, because of the special situation of
getopt.c between glibc and gnulib.

FYI, this is the third report after
https://lists.gnu.org/archive/html/bug-gnulib/2017-04/msg00068.html
and
https://lists.gnu.org/archive/html/bug-gnulib/2017-04/msg00150.html

Bruno




reply via email to

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