This is the mail archive of the
cygwin
mailing list for the Cygwin project.
lint kills _Noreturn
- From: Ken Brown <kbrown at cornell dot edu>
- To: cygwin <cygwin at cygwin dot com>
- Date: Sun, 29 May 2016 09:42:31 -0400
- Subject: lint kills _Noreturn
- Authentication-results: sourceware.org; auth=none
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