all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Problem in ENCODE_CHAR macro
@ 2016-02-26 20:45 Aurélien Aptel
  2016-02-26 21:07 ` Andreas Schwab
  0 siblings, 1 reply; 3+ messages in thread
From: Aurélien Aptel @ 2016-02-26 20:45 UTC (permalink / raw)
  To: Emacs development discussions

Hi,

#define ENCODE_CHAR(charset, c)                        \
  (verify_expr                                \
   (sizeof (c) <= sizeof (int),                        \
    (ASCII_CHAR_P (c) && (charset)->ascii_compatible_p            \
     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     ? (unsigned) (c)


?: has lower precedence than &&.
Shouldn't the underlined part be wrapped in extra paren?



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

end of thread, other threads:[~2016-02-26 21:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-26 20:45 Problem in ENCODE_CHAR macro Aurélien Aptel
2016-02-26 21:07 ` Andreas Schwab
2016-02-26 21:17   ` Aurélien Aptel

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.