public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* lint kills _Noreturn
@ 2016-05-29 17:21 Ken Brown
  2016-05-29 19:09 ` Ken Brown
  2016-05-29 19:28 ` Andy Moreton
  0 siblings, 2 replies; 12+ messages in thread
From: Ken Brown @ 2016-05-29 17:21 UTC (permalink / raw)
  To: cygwin

If lint is defined, then /usr/include/sys/cdefs.h defines _Noreturn as a 
macro that expands to nothing.  Is this intentional?

Simple test case:

$ cat test.h
#define lint 1
#include <sys/cdefs.h>
_Noreturn void foo (void);

$ gcc -E test.h | grep foo
          void foo (void);


Ken

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

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

end of thread, other threads:[~2016-05-31  9:35 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-29 17:21 lint kills _Noreturn Ken Brown
2016-05-29 19:09 ` Ken Brown
2016-05-29 19:28 ` Andy Moreton
2016-05-29 22:24   ` Ken Brown
2016-05-29 22:51     ` Ken Brown
2016-05-30  7:19     ` Andy Moreton
2016-05-30  8:25       ` Ken Brown
2016-05-30 10:35     ` Corinna Vinschen
2016-05-30 21:57       ` Hans-Bernhard Bröker
2016-05-31  9:35       ` Ken Brown
2016-05-31  9:41         ` Ken Brown
2016-05-31 17:03           ` Corinna Vinschen

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).