mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-19 03:33:43 +03:00
(verify_expr): Use ((verify_type__ (R) *) 0), not
sizeof (verify_type__ (R)), to pacify C++ compilers.
This commit is contained in:
1 parent
6a406d5d8b
commit
7c97d643b9
2 files changed
+5
-1
No files matched your search
@@ -1,5 +1,9 @@
|
||||
2005-07-11 Paul Eggert <eggert@cs.ucla.edu>
|
||||
|
||||
* verify.h (verify_expr): Use ((verify_type__ (R) *) 0), not
|
||||
sizeof (verify_type__ (R)), to pacify C++ compilers. Problem
|
||||
reported by Bruno Haible.
|
||||
|
||||
* version-etc-fsf.c (version_etc_copyright): Parameterize the
|
||||
copyright symbol and the year.
|
||||
* version-etc.c (COPYRIGHT_YEAR): New constant.
|
||||
|
||||
+1
-1
@@ -52,6 +52,6 @@
|
||||
This macro can be used in some contexts where verify cannot, and vice versa.
|
||||
Return void. */
|
||||
|
||||
# define verify_expr(R) ((void) sizeof (verify_type__ (R)))
|
||||
# define verify_expr(R) ((void) ((verify_type__ (R) *) 0))
|
||||
|
||||
#endif
|
||||
Reference in new issue
Block a user