Mercurial > gnulib
view modules/xstrndup @ 40246:c34f677e6117 default tip master
_Noreturn: GCC 4.7 does not support [[noreturn]] in C++11 mode
* lib/_Noreturn.h, m4/gnulib-common.m4: Don't use [[noreturn]] before
GCC 4.8.
author | Akim Demaille <akim.demaille@gmail.com> |
---|---|
date | Sun, 17 Mar 2019 19:27:20 +0100 |
parents | 42b53a22aee5 |
children |
line wrap: on
line source
Description: Duplicate a bounded initial segment of a string, with out-of-memory checking. Files: lib/xstrndup.h lib/xstrndup.c m4/xstrndup.m4 Depends-on: strndup xalloc configure.ac: gl_XSTRNDUP Makefile.am: lib_SOURCES += xstrndup.h xstrndup.c Include: "xstrndup.h" License: GPL Maintainer: Simon Josefsson