From owner-freebsd-current@FreeBSD.ORG Tue Nov 6 22:37:42 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5EDCBA29 for ; Tue, 6 Nov 2012 22:37:42 +0000 (UTC) (envelope-from ler@lerctr.org) Received: from thebighonker.lerctr.org (lrosenman-1-pt.tunnel.tserv8.dal1.ipv6.he.net [IPv6:2001:470:1f0e:3ad::2]) by mx1.freebsd.org (Postfix) with ESMTP id 219588FC0A for ; Tue, 6 Nov 2012 22:37:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lerctr.org; s=lerami; h=Message-ID:Subject:To:From:Date:Content-Transfer-Encoding:Content-Type:MIME-Version; bh=PJkvNDQggDjo6uX5ZEHwMtPYDWdolfkaGKMkMJDQPfE=; b=I6GP8E/yIxmC+Xu3YTW+949kUwZMwtgInK7EdV0u2PWyJRu33WKihc+FY+TTpMu+XnyShsLsEON2ezXKfvLoB4JWqFKi5C+Fhu3knDo5KadFrfM5/opwuE8iKclLaHA0pjhDX2sd+etFY4lp9kR1n1mRfuqt7JwJuZnc92Z94PE=; Received: from localhost.lerctr.org ([127.0.0.1]:39586 helo=webmail.lerctr.org) by thebighonker.lerctr.org with esmtpa (Exim 4.80.1 (FreeBSD)) (envelope-from ) id 1TVrm9-000Pq5-6e for freebsd-current@freebsd.org; Tue, 06 Nov 2012 16:37:41 -0600 Received: from [32.97.110.60] by webmail.lerctr.org with HTTP (HTTP/1.1 POST); Tue, 06 Nov 2012 16:37:41 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: Tue, 06 Nov 2012 16:37:41 -0600 From: Larry Rosenman To: Subject: detecting clang from source =?UTF-8?Q?code=3F?= Message-ID: X-Sender: ler@lerctr.org User-Agent: Roundcube Webmail/0.8.2 X-Spam-Score: -3.3 (---) X-LERCTR-Spam-Score: -3.3 (---) X-Spam-Report: SpamScore (-3.3/5.0) ALL_TRUSTED=-1, BAYES_00=-1.9, RP_MATCHES_RCVD=-0.369 X-LERCTR-Spam-Report: SpamScore (-3.3/5.0) ALL_TRUSTED=-1, BAYES_00=-1.9, RP_MATCHES_RCVD=-0.369 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Nov 2012 22:37:42 -0000 Are there any defines that code can use in #ifdef/#if et al to tell it's being compiled with clang? Vic Abell (lsof author) is cleaning up lsof to compile cleanly with clang and would like to know, since the default is now clang on -CURRENT. Thanks! Larry Rosenman Maintainer sysutils/lsof