bug-gnulib
[Top][All Lists]
Advanced

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

fnmatch sometimes defined to posix_fnmatch


From: John W. Eaton
Subject: fnmatch sometimes defined to posix_fnmatch
Date: Sun, 9 Jan 2011 17:20:57 -0500

I received a bug report for Octave that was the result of fnmatch
being defined to posix_fnmatch in config.h.  I think this is due to

    AC_DEFINE_UNQUOTED([fnmatch], [${gl_fnmatch_required_lowercase}_fnmatch],
      [Define to a replacement function name for fnmatch().])

in gnulib's fnmatch.m4 file.  Is there some way to protect fnmatch
from being redefined globally when using a C++ compiler as has been
done with other symbols?  If not, then I can work around the problem,
but it would be nice if this redefinition did not happen when using
C++.

Please let me know if more info is needed.

Thanks,

jwe



reply via email to

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