From owner-freebsd-current@FreeBSD.ORG Mon Jun 27 02:58:25 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7101C106564A for ; Mon, 27 Jun 2011 02:58:25 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.95.76.21]) by mx1.freebsd.org (Postfix) with ESMTP id 395B88FC13 for ; Mon, 27 Jun 2011 02:58:25 +0000 (UTC) Received: from troutmask.apl.washington.edu (localhost.apl.washington.edu [127.0.0.1]) by troutmask.apl.washington.edu (8.14.4/8.14.4) with ESMTP id p5R2wOY8090030; Sun, 26 Jun 2011 19:58:24 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.14.4/8.14.4/Submit) id p5R2wO15090029; Sun, 26 Jun 2011 19:58:24 -0700 (PDT) (envelope-from sgk) Date: Sun, 26 Jun 2011 19:58:24 -0700 From: Steve Kargl To: Eric McCorkle Message-ID: <20110627025824.GA90022@troutmask.apl.washington.edu> References: <4E07EBA2.70500@shadowsun.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4E07EBA2.70500@shadowsun.net> User-Agent: Mutt/1.4.2.3i Cc: freebsd-current@freebsd.org Subject: Re: Clang buildworld failure due to multiple definitions of __isnanf X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Mon, 27 Jun 2011 02:58:25 -0000 On Sun, Jun 26, 2011 at 10:32:02PM -0400, Eric McCorkle wrote: > > A better solution, I think, is to modify math.h with something like this: > > #ifdef __clang__ > #define isnan(n) __builtin_isnan(n) > ... > #endif Please, no. Don't touch math.h. -- Steve