Mercurial > hg > octave-kai > gnulib-hg
annotate modules/sprintf-posix-tests @ 16275:053f5a861da8
inet_ntop: guard extra work by IF_LINT
No need to penalize the code just to silence a gcc warning, so
follow the conventions used elsewhere in gnulib. Clients that
want to use extra warnings should also be using -Dlint.
* lib/inet_ntop.c (inet_ntop6): Mark spurious initialization, for
better code generation when not checking for warnings.
Suggested by Paul Eggert and Jim Meyering.
Signed-off-by: Eric Blake <eblake@redhat.com>
author | Eric Blake <eblake@redhat.com> |
---|---|
date | Thu, 12 Jan 2012 08:44:08 -0700 |
parents | 400649d35651 |
children |
rev | line source |
---|---|
8374
c0d14b4ff537
Tests for module 'sprintf-posix'.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
1 Files: |
c0d14b4ff537
Tests for module 'sprintf-posix'.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
2 tests/test-sprintf-posix.c |
c0d14b4ff537
Tests for module 'sprintf-posix'.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
3 tests/test-sprintf-posix.h |
13834
108bbfd6f03b
frexp, tests: work around ICC bug with -zero
Eric Blake <eblake@redhat.com>
parents:
12496
diff
changeset
|
4 tests/minus-zero.h |
15595
328819af1c02
Support for MSVC compiler: Avoid division by a literal 0.
Bruno Haible <bruno@clisp.org>
parents:
13834
diff
changeset
|
5 tests/infinity.h |
9854
baba3b346ab2
Use macros NaNf, NaNd, NaNl instead of NAN.
Bruno Haible <bruno@clisp.org>
parents:
9850
diff
changeset
|
6 tests/nan.h |
12496
a48d3d749ca5
Refactor common macros used in tests.
Bruno Haible <bruno@clisp.org>
parents:
12489
diff
changeset
|
7 tests/signature.h |
a48d3d749ca5
Refactor common macros used in tests.
Bruno Haible <bruno@clisp.org>
parents:
12489
diff
changeset
|
8 tests/macros.h |
8374
c0d14b4ff537
Tests for module 'sprintf-posix'.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
9 |
c0d14b4ff537
Tests for module 'sprintf-posix'.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
10 Depends-on: |
c0d14b4ff537
Tests for module 'sprintf-posix'.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
11 stdint |
10601
ca053fa79cd3
Use a more portable replacement expression for -0.0L.
Bruno Haible <bruno@clisp.org>
parents:
9854
diff
changeset
|
12 float |
8374
c0d14b4ff537
Tests for module 'sprintf-posix'.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
13 |
c0d14b4ff537
Tests for module 'sprintf-posix'.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
14 configure.ac: |
15906
400649d35651
*printf-posix tests: Fix for platforms where 'long double' == 'double'.
Bruno Haible <bruno@clisp.org>
parents:
15595
diff
changeset
|
15 AC_REQUIRE([gl_LONG_DOUBLE_VS_DOUBLE]) |
8374
c0d14b4ff537
Tests for module 'sprintf-posix'.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
16 |
c0d14b4ff537
Tests for module 'sprintf-posix'.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
17 Makefile.am: |
c0d14b4ff537
Tests for module 'sprintf-posix'.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
18 TESTS += test-sprintf-posix |
c0d14b4ff537
Tests for module 'sprintf-posix'.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
19 check_PROGRAMS += test-sprintf-posix |
c0d14b4ff537
Tests for module 'sprintf-posix'.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
20 |