From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Enge Subject: Re: Isnan Date: Sun, 31 Jul 2016 13:06:07 +0200 Message-ID: <20160731110607.GA10072@solar> References: <20160731103520.GA9970@solar> <20160731124427.09d60bc3@scratchpost.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35718) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bToZW-0002lB-9z for guix-devel@gnu.org; Sun, 31 Jul 2016 07:06:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bToZR-0001ZQ-Vh for guix-devel@gnu.org; Sun, 31 Jul 2016 07:06:17 -0400 Received: from mailrelay6.public.one.com ([91.198.169.200]:63343) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bToZR-0001ZE-Ig for guix-devel@gnu.org; Sun, 31 Jul 2016 07:06:13 -0400 Content-Disposition: inline In-Reply-To: <20160731124427.09d60bc3@scratchpost.org> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Danny Milosavljevic Cc: guix-devel@gnu.org On Sun, Jul 31, 2016 at 12:44:27PM +0200, Danny Milosavljevic wrote: > > Apparently the "std::" is missing in front of "isnan"; should this not be implicit? > No. Many people in the C++ community frowns upon even doing "using namespace std" at all, never mind implicitly. > http://stackoverflow.com/questions/1265039/using-std-namespace > If you include math.h , isnan is called ::isnan . > If you include cmath , isnan is called std::isnan . Thanks for the info! > Also, std::isnan was added with C++11, so it's a new feature. Are you compiling with a C++11 compiler? What are the compiler flags used? I am just looking at the reports on hydra. Dealii compiles in master, but not in core-updates. (I am trying to update to 8.4.1; so far, the build process goes beyond where it fails in the current version.) Andreas