all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* more macOS Clang assume warnings
@ 2020-08-24 18:54 Mattias Engdegård
  2020-08-25  0:23 ` Paul Eggert
  0 siblings, 1 reply; 5+ messages in thread
From: Mattias Engdegård @ 2020-08-24 18:54 UTC (permalink / raw)
  To: emacs-devel, Paul Eggert

The latest assume reformulation caused several warnings like the following when building with Clang:

../../emacs/src/xwidget.h:171:72: warning: control reaches end of non-void
      function [-Wreturn-type]
INLINE struct xwidget *lookup_xwidget (Lisp_Object obj) { eassume (0); }
                                                                       ^
../../emacs/src/eval.c:1571:1: warning: function declared 'noreturn' should not
      return [-Winvalid-noreturn]
}
^

This is with Apple clang version 11.0.0 (clang-1100.0.33.17) but it looks like the same applies to clang trunk.




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-08-27  2:47 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-08-24 18:54 more macOS Clang assume warnings Mattias Engdegård
2020-08-25  0:23 ` Paul Eggert
2020-08-26  0:01   ` Bruno Haible
2020-08-26  0:44     ` Paul Eggert
2020-08-27  2:47       ` Richard Stallman

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.