|
d0f24fde
|
2012-05-14T17:33:15
|
|
ignore-value.h: remove unused _GL_ATTRIBUTE_DEPRECATED definition
* lib/ignore-value.h (_GL_ATTRIBUTE_DEPRECATED): Remove now-unused
definition. Reported by Bruno Haible.
|
|
530dd174
|
2012-01-10T08:38:52
|
|
ignore-value: remove deprecated ignore_ptr function
* lib/ignore-value.h (ignore_ptr): Remove deprecated function.
* NEWS: Note this.
|
|
1602f0af
|
2012-01-01T10:04:58
|
|
maint: update all copyright year number ranges
Run "make update-copyright".
|
|
59b191ed
|
2011-02-13T23:44:28
|
|
Consistent macro naming for macros that use GCC __attribute__.
* lib/di-set.h (_GL_ATTRIBUTE_NONNULL): Renamed from
_ATTRIBUTE_NONNULL_.
* lib/ino-map.h (_GL_ATTRIBUTE_NONNULL): Likewise.
* lib/hash.h (_GL_ATTRIBUTE_WUR): Renamed from ATTRIBUTE_WUR.
* lib/ignore-value.h (_GL_ATTRIBUTE_DEPRECATED): Renamed from
ATTRIBUTE_DEPRECATED.
* lib/openat.h (_GL_ATTRIBUTE_NORETURN): Renamed from
ATTRIBUTE_NORETURN.
* lib/sigpipe-die.h (_GL_ATTRIBUTE_NORETURN): Likewise.
* lib/xmemdup0.h (_GL_ATTRIBUTE_NORETURN): Likewise.
* lib/xstrtol.h (_GL_ATTRIBUTE_NORETURN): Likewise.
* lib/xalloc.h (_GL_ATTRIBUTE_NORETURN): Likewise.
(_GL_ATTRIBUTE_MALLOC): Renamed from ATTRIBUTE_MALLOC.
(_GL_ATTRIBUTE_ALLOC_SIZE): Renamed from ATTRIBUTE_ALLOC_SIZE.
* lib/version-etc.h (_GL_ATTRIBUTE_SENTINEL): Renamed from
ATTRIBUTE_SENTINEL.
* lib/safe-alloc.h (_GL_ATTRIBUTE_RETURN_CHECK): Renamed from
ATTRIBUTE_RETURN_CHECK.
* tests/test-ignore-value.c (_GL_ATTRIBUTE_RETURN_CHECK): Likewise.
* tests/test-argmatch.c (_GL_ATTRIBUTE_NORETURN): Renamed from
ATTRIBUTE_NORETURN.
* tests/test-exclude.c (_GL_ATTRIBUTE_NORETURN): Likewise.
Reported by Paul Eggert.
|
|
59b2af7a
|
2011-01-21T08:17:07
|
|
ignore-value: remove dependency on stdint
Since commit 939dedd9, 06-01-2011,
"ignore-value: support aggregate types"
we no longer need stdint (intptr_t).
* lib/ignore-value.h: Remove uneeded <stdint.h>.
* modules/ignore-value: Remove stdint dependency.
|
|
d0270e7b
|
2011-01-07T01:25:06
|
|
ignore-value: clarify some comments
* lib/ignore-value.h: Add Eric Blake as an author since
he rewrote the macros.
(ignore_value): Specify exactly when the GCC warn_unused_result
feature became available.
(ignore_ptr): Mention that ignore_value supports aggregates.
|
|
939dedd9
|
2011-01-06T15:41:16
|
|
ignore-value: support aggregate types
Also has the advantage of avoiding problems with
gcc -Wbad-function-cast
* lib/ignore-value.h (ignore_value): Provide separate gcc
definition.
* modules/ignore-value-tests: New test module.
* tests/test-ignore-value.c: New test.
Signed-off-by: Eric Blake <eblake@redhat.com>
|
|
b24bc297
|
2011-01-05T12:09:52
|
|
ignore-value: make ignore_value more generic; deprecate ignore_ptr
* lib/ignore-value.h: Include <stdint.h>, for decl of intptr_t.
(ATTRIBUTE_DEPRECATED): Define.
(_ignore_case): New function.
(ignore_value): New macro, to replace the old function.
(ignore_ptr): Arrange for any use to evoke a deprecation warning.
* modules/ignore-value (Depends-on): Add stdint.
|
|
d60f3b0c
|
2011-01-01T20:17:23
|
|
maint: update almost all copyright ranges to include 2011
Run the new "make update-copyright" rule.
|
|
cac3889c
|
2010-10-15T16:05:27
|
|
ignore-value: make header idempotent
* lib/ignore-value.h: Add double-inclusion guards.
Reported by Stefan Berger.
Signed-off-by: Eric Blake <eblake@redhat.com>
|
|
b2e2010c
|
2010-01-01T10:31:12
|
|
update nearly all FSF copyright year lists to include 2010
Use the same procedure as for 2009, outlined in
http://thread.gmane.org/gmane.comp.lib.gnulib.bugs/20081
|
|
c232dc71
|
2009-08-12T09:37:56
|
|
ignore-value: handle pointer types, too
* lib/ignore-value.h (__attribute__): Remove definition.
(ignore_value): Remove use of "__attribute__ ((unused))" in favor
of a more concise and more-often effective "(void) i" statement.
(ignore_ptr): New function to suppress warnings from functions that
return pointers, and to make it explicit that one function doesn't
handle all cases.
|
|
2c77dff7
|
2008-10-16T23:20:44
|
|
ignore-value: new module
* modules/ignore-value: New file.
* lib/ignore-value.h: New file.
* MODULES.html.sh (Compiler warning management): New section,
just for this module. More to come.
|