all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Andreas Enge <andreas@enge.fr>
To: guix-devel@gnu.org
Subject: Isnan
Date: Sun, 31 Jul 2016 12:35:20 +0200	[thread overview]
Message-ID: <20160731103520.GA9970@solar> (raw)

Hello,

has anyone followed what the deal is with isnan in core-updates? A number
of C++ packages does not build any more. For instance, dealii:
solver_control.cc:96:24: error: ‘isnan’ was not declared in this scope
       isnan(check_value) ||
                        ^
[ 30%] Building CXX object source/lac/CMakeFiles/obj_lac.debug.dir/solver_control.cc.o
cd /tmp/guix-build-dealii-8.2.1.drv-0/build/source/lac && /gnu/store/frrj3bfbmg5vrd0flh9cf8j64h7cr2v4-gcc-4.9.3/bin/c++   -DDEBUG -I/tmp/guix-build-dealii-8.2.1.drv-0/build/source/lac -I/tmp/guix-build-dealii-8.2.1.drv-0/build/include -I/tmp/guix-build-dealii-8.2.1.drv-0/dealii-8.2.1/include -I/gnu/store/pzk986yikywnql4x393pbhzbiz7vl72n-bzip2-1.0.6/include -I/gnu/store/f51hs67f3g1r15fy9xq4bi7m3z991p0j-tbb-4.3.2/include -I/gnu/store/5992iq1v7arqa14ym3di58n4la0893nv-zlib-1.2.8/include -I/gnu/store/5qp29kq39b23w0sb1306fhsrq0zfm6sl-suitesparse-4.4.3/include -I/gnu/store/693zbcqs6jv8zg7k1x8x8k3sm7fimqs0-boost-1.60.0/include -I/gnu/store/8vqdr67rfbxk12bl3gajshkiffn8l9ld-muparser-2.2.5-2/include  -pedantic -fpic -Wall -Wpointer-arith -Wwrite-strings -Wsynth -Wsign-compare -Wswitch -Wno-unused-local-typedefs -Wno-long-long -Wno-deprecated -Wno-deprecated-declarations -fopenmp-simd -std=c++11 -Og -ggdb -Wa,--compress-debug-sections -o CMakeFiles/obj_lac.debug.dir/solver_control.cc.o -c /tmp/guix-build-dealii-8.2.1.drv-0/dealii-8.2.1/source/lac/solver_control.cc
/tmp/guix-build-dealii-8.2.1.drv-0/dealii-8.2.1/source/lac/solver_control.cc: In member function ‘virtual dealii::SolverControl::State dealii::SolverControl::check(unsigned int, double)’:
/tmp/guix-build-dealii-8.2.1.drv-0/dealii-8.2.1/source/lac/solver_control.cc:96:24: error: ‘isnan’ was not declared in this scope
       isnan(check_value) ||
                        ^
/tmp/guix-build-dealii-8.2.1.drv-0/dealii-8.2.1/source/lac/solver_control.cc:96:24: note: suggested alternative:
In file included from /gnu/store/frrj3bfbmg5vrd0flh9cf8j64h7cr2v4-gcc-4.9.3/include/c++/complex:44:0,
                 from /tmp/guix-build-dealii-8.2.1.drv-0/dealii-8.2.1/include/deal.II/base/numbers.h:22,
                 from /tmp/guix-build-dealii-8.2.1.drv-0/build/include/deal.II/base/config.h:579,
                 from /tmp/guix-build-dealii-8.2.1.drv-0/dealii-8.2.1/include/deal.II/base/logstream.h:19,
                 from /tmp/guix-build-dealii-8.2.1.drv-0/dealii-8.2.1/source/lac/solver_control.cc:16:
/gnu/store/frrj3bfbmg5vrd0flh9cf8j64h7cr2v4-gcc-4.9.3/include/c++/cmath:632:5: note:   ‘std::isnan’
     isnan(_Tp __x)

Apparently the "std::" is missing in front of "isnan"; should this not be implicit?

Andreas

             reply	other threads:[~2016-07-31 10:35 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-31 10:35 Andreas Enge [this message]
2016-07-31 10:44 ` Isnan Danny Milosavljevic
2016-07-31 11:06   ` Isnan Andreas Enge
2016-07-31 14:42     ` Isnan Andreas Enge
2016-07-31 14:53       ` Isnan Andreas Enge
2016-07-31 16:18         ` Isnan Andreas Enge

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160731103520.GA9970@solar \
    --to=andreas@enge.fr \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.