diff options
author | Bruno Haible <bruno@clisp.org> | 2019-11-21 11:44:12 +0100 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2019-11-21 11:44:12 +0100 |
commit | 98d37180a74eda5319fae747a1e718efe1e4f7d6 (patch) | |
tree | e4da68f8e2a30c03e8ced70aa7b9e30c7e6f8e8b /lib/monetary.in.h | |
parent | 5652992e666d0cdcf89112d5c212c1792514402e (diff) | |
download | gnulib-98d37180a74eda5319fae747a1e718efe1e4f7d6.tar.gz |
Disable many _GL_CXXALIASWARN on all platforms other than glibc systems.
Reported by Christian Biesinger <cbiesinger@google.com> in
<https://lists.gnu.org/archive/html/bug-gnulib/2019-11/msg00066.html>.
* lib/fnmatch.in.h (fnmatch): Disable _GL_CXXALIASWARN invocation on
non-glibc systems.
* lib/locale.in.h (localeconv, setlocale): Likewise.
* lib/math.in.h (cbrt, ceil, copysign, exp2, expm1, floor, fma, fmod,
frexp, hypot, ilogb, log, log10, log1p, log2, logb, modf, remainder,
rint, round, trunc): Likewise.
* lib/monetary.in.h (strfmon_l): Likewise.
* lib/pthread.in.h (pthread_mutexattr_getrobust,
pthread_mutexattr_setrobust, pthread_mutex_lock, pthread_spin_init,
pthread_spin_lock, pthread_spin_trylock, pthread_spin_unlock,
pthread_spin_destroy): Likewise.
* lib/signal.in.h (raise, signal): Likewise.
* lib/stdio.in.h (fclose, fflush, fgetc, fgets, fopen, fprintf, fputc,
fputs, fread, freopen, fscanf, fseek, ftell, fwrite, getc, getchar,
perror, printf, putc, putchar, puts, remove, rename, scanf, sprintf,
tmpfile, vfprintf, vprintf, vsprintf): Likewise.
* lib/stdlib.in.h (calloc, malloc, mbtowc, realloc, strtod, wctomb):
Likewise.
* lib/string.in.h (memchr, strncat, strpbrk, strstr, strerror):
Likewise.
* lib/time.in.h (mktime, localtime, ctime, strftime): Likewise.
* lib/wchar.in.h (btowc, wctob, mbsinit, mbrtowc, mbrlen, mbsrtowcs,
wcrtomb, wcsrtombs, wmemchr, wmemcmp, wmemcpy, wmemmove, wmemset,
wcslen, wcscpy, wcsncpy, wcscat, wcsncat, wcscmp, wcsncmp, wcscoll,
wcsxfrm, wcschr, wcsrchr, wcscspn, wcsspn, wcspbrk, wcsstr, wcstok,
wcsftime): Likewise.
* lib/wctype.in.h (iswblank, wctrans, towctrans): Likewise.
Diffstat (limited to 'lib/monetary.in.h')
-rw-r--r-- | lib/monetary.in.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/monetary.in.h b/lib/monetary.in.h index d56b6cfa2f..3157cd7a50 100644 --- a/lib/monetary.in.h +++ b/lib/monetary.in.h @@ -91,7 +91,9 @@ _GL_CXXALIAS_SYS (strfmon_l, ssize_t, (char *s, size_t maxsize, locale_t locale, const char *format, ...)); # endif # endif +# if __GLIBC__ >= 2 _GL_CXXALIASWARN (strfmon_l); +# endif #elif defined GNULIB_POSIXCHECK # undef strfmon_l # if HAVE_RAW_DECL_STRFMON_L |