X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:to:from:subject:message-id:date:mime-version
	:content-type:content-transfer-encoding; q=dns; s=default; b=Y2d
	Ytr9+qgsxZjY/evYzwnj3qXSdEqMb2vLwtnv6YWlgZb3o7Gi35QyhMQ3Y9ALKoAW
	+XJm/QZsmVIxu9HyQN4TYtoZPvfXF6IqGEtDBcL5EkIC0G82IUl1zCYpr1Kdbjgs
	6PyHqU6VRfN9n5QG9/RZpLepZ3ne4LqkiXdrWpMg=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:to:from:subject:message-id:date:mime-version
	:content-type:content-transfer-encoding; s=default; bh=75VWrV+1T
	AlSInym1yy5oSkPn4I=; b=ducg9lpCGcHb2Ad47gibjdd85IH0I7Yv1N7O33Ewg
	qsf0/XfkLUxPXwiTZxDj37T0wqIvJcU+aBTQ8d/pH4bYAEcrkFM6Edmn6Z7kMSpV
	6WPKr/FVG/wJIDz6tLAmTISGff3M1MT32v0JYbFG4Cvv9ngU4ztXKVjgsybKaE8Q
	Eo=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-2.7 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 spammy=intentional
X-HELO: limerock02.mail.cornell.edu
X-CornellRouted: This message has been Routed already.
To: cygwin <cygwin@cygwin.com>
From: Ken Brown <kbrown@cornell.edu>
Subject: lint kills _Noreturn
Message-ID: <6fef0097-c076-2691-c4f9-2af5a050a17e@cornell.edu>
Date: Sun, 29 May 2016 09:42:31 -0400
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.1.0
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
X-PMX-Cornell-Gauge: Gauge=XXXXX
X-IsSubscribed: yes

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

