Mercurial > hg > octave-lojdl > gnulib-hg
comparison ChangeLog @ 17423:6105f1dfb98e
c-ctype, regex, verify: port to gcc -std=c90 -pedantic
Avoid constructions that are rejected by gcc -std=c90 -pedantic.
This fixes a porting bug I recently reintroduced in regex, and
some other instances that I discovered while testing the fix.
* lib/c-ctype.h [__STRICT_ANSI__]: Avoid ({ ... }).
* lib/regcomp.c (utf8_sb_map) [__STRICT_ANSI__]: Avoid [0 ... N] = E.
* lib/regex_internal.h [!_LIBC && GNULIB_LOCK]: Do not use a macro
with an empty argument if this is a pedantic pre-C99 GCC.
* lib/verify.h: Do not use _Static_assert if this is a pedantic
pre-C11 GCC.
author | Paul Eggert <eggert@cs.ucla.edu> |
---|---|
date | Wed, 29 May 2013 18:48:09 -0700 |
parents | 08883714ab3e |
children | c2521dab0c42 |
comparison
equal
deleted
inserted
replaced
17422:08883714ab3e | 17423:6105f1dfb98e |
---|---|
1 2013-05-29 Paul Eggert <eggert@cs.ucla.edu> | 1 2013-05-29 Paul Eggert <eggert@cs.ucla.edu> |
2 | |
3 c-ctype, regex, verify: port to gcc -std=c90 -pedantic | |
4 Avoid constructions that are rejected by gcc -std=c90 -pedantic. | |
5 This fixes a porting bug I recently reintroduced in regex, and | |
6 some other instances that I discovered while testing the fix. | |
7 * lib/c-ctype.h [__STRICT_ANSI__]: Avoid ({ ... }). | |
8 * lib/regcomp.c (utf8_sb_map) [__STRICT_ANSI__]: Avoid [0 ... N] = E. | |
9 * lib/regex_internal.h [!_LIBC && GNULIB_LOCK]: Do not use a macro | |
10 with an empty argument if this is a pedantic pre-C99 GCC. | |
11 * lib/verify.h: Do not use _Static_assert if this is a pedantic | |
12 pre-C11 GCC. | |
2 | 13 |
3 regex: adapt to locking regime instead of depending on pthread | 14 regex: adapt to locking regime instead of depending on pthread |
4 Instead of depending on pthread, adapt to whatever thread | 15 Instead of depending on pthread, adapt to whatever thread |
5 modules are in use. Problem reported by Ludovic Courtès in | 16 modules are in use. Problem reported by Ludovic Courtès in |
6 <http://lists.gnu.org/archive/html/bug-gnulib/2013-05/msg00082.html> | 17 <http://lists.gnu.org/archive/html/bug-gnulib/2013-05/msg00082.html> |