bug-gettext
[Top][All Lists]
Advanced

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

[bug-gettext] [bug #42204] gettext-0.18.3.2: weird build anomaly with Mi


From: Bruno Haible
Subject: [bug-gettext] [bug #42204] gettext-0.18.3.2: weird build anomaly with MinGW
Date: Sun, 7 Oct 2018 05:16:20 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:62.0) Gecko/20100101 Firefox/62.0

Follow-up Comment #5, bug #42204 (project gettext):

Hi Keith,

Sorry I had misunderstood your report, because of the unusual presentation
(the first comment being an analysis with no explanation what the symptoms
are). In this bug tracker, the attachments don't stand out, therefore I read
the comments, and when the comments tell me that there is an attachment, I
look at the attachment afterwards.

Reading the attachment first I see that HAVE_DIRENT_H was set to 1 but
HAVE_CLOSEDIR was undefined. This is a situation for which the gnulib modules
are not prepared.

> closedir() is provided as an inline wrapper, (which AC_CHECK_FUNCS is unable
to detect)

This looks like the original cause of the problem. AC_CHECK_FUNCS is a handy
macro, therefore Gnulib makes use of it wherever it can. Every time some
platform defines a function as an inline function, it requires a specific test
code, rather than merely an AC_CHECK_FUNCS invocation. I've gone through it
for many <math.h> functions, which are provided as inline functions for speed
on some platforms. For functions like opendir and closedir it comes
unexpected.

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?42204>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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