* [PATCH] intprops: fix typo in clang port
@ 2015-11-10 17:35 Paul Eggert
0 siblings, 0 replies; only message in thread
From: Paul Eggert @ 2015-11-10 17:35 UTC (permalink / raw
To: bug-gnulib; +Cc: Paul Eggert
* lib/intprops.h (_GL_INT_OP_WRAPV): Fix misspelling of
'__builtin_add_overflow' that is not caught by compiler.
---
ChangeLog | 6 ++++++
lib/intprops.h | 2 +-
2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
index b0385b7..96fd547 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2015-11-10 Paul Eggert <eggert@cs.ucla.edu>
+
+ intprops: fix typo in clang port
+ * lib/intprops.h (_GL_INT_OP_WRAPV): Fix misspelling of
+ '__builtin_add_overflow' that is not caught by compiler.
+
2015-11-05 Paul Eggert <eggert@cs.ucla.edu>
test-timespec: fix typo in previous change
diff --git a/lib/intprops.h b/lib/intprops.h
index c55c4db..5743eb4 100644
--- a/lib/intprops.h
+++ b/lib/intprops.h
@@ -354,7 +354,7 @@
/* Store A <op> B into *R, where OP specifies the operation.
BUILTIN is the builtin operation, and OVERFLOW the overflow predicate.
See above for restrictions. */
-#if 5 <= __GNUC__ || __has_builtin (__builtin_add_oveflow)
+#if 5 <= __GNUC__ || __has_builtin (__builtin_add_overflow)
# define _GL_INT_OP_WRAPV(a, b, r, op, builtin, overflow) builtin (a, b, r)
#elif 201112 <= __STDC_VERSION__ && !_GL__GENERIC_BOGUS
# define _GL_INT_OP_WRAPV(a, b, r, op, builtin, overflow) \
--
2.1.0
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2015-11-10 17:36 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-10 17:35 [PATCH] intprops: fix typo in clang port Paul Eggert
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).