octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #47212] Faddeeva build failure due to unresolv


From: anonymous
Subject: [Octave-bug-tracker] [bug #47212] Faddeeva build failure due to unresolved namespace
Date: Sun, 21 Feb 2016 14:16:13 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:44.0) Gecko/20100101 Firefox/44.0

URL:
  <http://savannah.gnu.org/bugs/?47212>

                 Summary: Faddeeva build failure due to unresolved namespace
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Sun 21 Feb 2016 02:16:12 PM UTC
                Category: Libraries
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Build Failure
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: GNU/Linux

    _______________________________________________________

Details:

This may be a namespace side-effect of the move to C++11. An overloaded
function "isnan(double&)" in Faddeeva is ambiguous and is mapped to the wrong
function.

Could the authors of Faddeeva specify the namespace to be used for isnan? Is
it std::isnan?


/bin/bash ./libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.
-I../octave  -I../octave/liboctave/array -I../octave/liboctave/cruft/misc
-Iliboctave/numeric -I../octave/liboctave/numeric -Iliboctave/operators
-I../octave/liboctave/operators -I../octave/liboctave/system
-I../octave/liboctave/util -Ilibgnu -I../octave/libgnu
-I/usr/local/ATLAS/include -I/usr/local/include -I/usr/include -fopenmp -Wall
-W -Wshadow -Wold-style-cast -Wformat -Wpointer-arith -Wwrite-strings
-Wcast-align -Wcast-qual -std=c++0x  -Wall -O3 -pipe -pthread -fopenmp -s -MT
liboctave/cruft/Faddeeva/liboctave_cruft_libcruft_la-Faddeeva.lo -MD -MP -MF
liboctave/cruft/Faddeeva/.deps/liboctave_cruft_libcruft_la-Faddeeva.Tpo -c -o
liboctave/cruft/Faddeeva/liboctave_cruft_libcruft_la-Faddeeva.lo `test -f
'liboctave/cruft/Faddeeva/Faddeeva.cc' || echo
'../octave/'`liboctave/cruft/Faddeeva/Faddeeva.cc
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../octave
-I../octave/liboctave/array -I../octave/liboctave/cruft/misc
-Iliboctave/numeric -I../octave/liboctave/numeric -Iliboctave/operators
-I../octave/liboctave/operators -I../octave/liboctave/system
-I../octave/liboctave/util -Ilibgnu -I../octave/libgnu
-I/usr/local/ATLAS/include -I/usr/local/include -I/usr/include -fopenmp -Wall
-W -Wshadow -Wold-style-cast -Wformat -Wpointer-arith -Wwrite-strings
-Wcast-align -Wcast-qual -std=c++0x  -Wall -O3 -pipe -pthread -fopenmp -s -MT
liboctave/cruft/Faddeeva/liboctave_cruft_libcruft_la-Faddeeva.lo -MD -MP -MF
liboctave/cruft/Faddeeva/.deps/liboctave_cruft_libcruft_la-Faddeeva.Tpo -c
../octave/liboctave/cruft/Faddeeva/Faddeeva.cc  -fPIC -DPIC -o
liboctave/cruft/Faddeeva/.libs/liboctave_cruft_libcruft_la-Faddeeva.o
../octave/liboctave/cruft/Faddeeva/Faddeeva.cc: In function 'cmplx
Faddeeva::erf(cmplx, double)':
../octave/liboctave/cruft/Faddeeva/Faddeeva.cc:355:21: error: call of
overloaded 'isnan(double&)' is ambiguous
../octave/liboctave/cruft/Faddeeva/Faddeeva.cc:355:21: note: candidates are:
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:236:1: note: int isnan(double)
/usr/include/c++/4.6/cmath:552:3: note: bool std::isnan(long double)
/usr/include/c++/4.6/cmath:548:3: note: bool std::isnan(double)
/usr/include/c++/4.6/cmath:544:3: note: bool std::isnan(float)
../octave/liboctave/cruft/Faddeeva/Faddeeva.cc: In function 'cmplx
Faddeeva::Dawson(cmplx, double)':
../octave/liboctave/cruft/Faddeeva/Faddeeva.cc:521:21: error: call of
overloaded 'isnan(double&)' is ambiguous
../octave/liboctave/cruft/Faddeeva/Faddeeva.cc:521:21: note: candidates are:
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:236:1: note: int isnan(double)
/usr/include/c++/4.6/cmath:552:3: note: bool std::isnan(long double)
/usr/include/c++/4.6/cmath:548:3: note: bool std::isnan(double)
/usr/include/c++/4.6/cmath:544:3: note: bool std::isnan(float)
../octave/liboctave/cruft/Faddeeva/Faddeeva.cc: In function 'cmplx
Faddeeva::w(cmplx, double)':
../octave/liboctave/cruft/Faddeeva/Faddeeva.cc:740:26: error: call of
overloaded 'isinf(const double&)' is ambiguous
../octave/liboctave/cruft/Faddeeva/Faddeeva.cc:740:26: note: candidates are:
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:203:1: note: int isinf(double)
/usr/include/c++/4.6/cmath:534:3: note: bool std::isinf(long double)
/usr/include/c++/4.6/cmath:530:3: note: bool std::isinf(double)
/usr/include/c++/4.6/cmath:526:3: note: bool std::isinf(float)
../octave/liboctave/cruft/Faddeeva/Faddeeva.cc:741:27: error: call of
overloaded 'isnan(const double&)' is ambiguous
../octave/liboctave/cruft/Faddeeva/Faddeeva.cc:741:27: note: candidates are:
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:236:1: note: int isnan(double)
/usr/include/c++/4.6/cmath:552:3: note: bool std::isnan(long double)
/usr/include/c++/4.6/cmath:548:3: note: bool std::isnan(double)
/usr/include/c++/4.6/cmath:544:3: note: bool std::isnan(float)
../octave/liboctave/cruft/Faddeeva/Faddeeva.cc:821:16: error: call of
overloaded 'isnan(const double&)' is ambiguous
../octave/liboctave/cruft/Faddeeva/Faddeeva.cc:821:16: note: candidates are:
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:236:1: note: int isnan(double)
/usr/include/c++/4.6/cmath:552:3: note: bool std::isnan(long double)
/usr/include/c++/4.6/cmath:548:3: note: bool std::isnan(double)
/usr/include/c++/4.6/cmath:544:3: note: bool std::isnan(float)
../octave/liboctave/cruft/Faddeeva/Faddeeva.cc:925:16: error: call of
overloaded 'isnan(const double&)' is ambiguous
../octave/liboctave/cruft/Faddeeva/Faddeeva.cc:925:16: note: candidates are:
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:236:1: note: int isnan(double)
/usr/include/c++/4.6/cmath:552:3: note: bool std::isnan(long double)
/usr/include/c++/4.6/cmath:548:3: note: bool std::isnan(double)
/usr/include/c++/4.6/cmath:544:3: note: bool std::isnan(float)
../octave/liboctave/cruft/Faddeeva/Faddeeva.cc:927:16: error: call of
overloaded 'isnan(const double&)' is ambiguous
../octave/liboctave/cruft/Faddeeva/Faddeeva.cc:927:16: note: candidates are:
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:236:1: note: int isnan(double)
/usr/include/c++/4.6/cmath:552:3: note: bool std::isnan(long double)
/usr/include/c++/4.6/cmath:548:3: note: bool std::isnan(double)
/usr/include/c++/4.6/cmath:544:3: note: bool std::isnan(float)
make[2]: ***
[liboctave/cruft/Faddeeva/liboctave_cruft_libcruft_la-Faddeeva.lo] Error 1





    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?47212>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]