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

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

[Octave-bug-tracker] [bug #47073] Conflicting signbit declarations


From: Orion Poplawski
Subject: [Octave-bug-tracker] [bug #47073] Conflicting signbit declarations
Date: Fri, 05 Feb 2016 17:20:51 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0

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

                 Summary: Conflicting signbit declarations
                 Project: GNU Octave
            Submitted by: opoplawski
            Submitted on: Fri 05 Feb 2016 05:20:50 PM GMT
                Category: Configuration and Build System
                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: 4.0.1-rc1
        Operating System: GNU/Linux

    _______________________________________________________

Details:

I'm seeing this building octave 4.0.0 or 4.0.1-rc3 with gcc 6 and suitesparse
4.4.6 in Fedora Rawhide:

In file included from /usr/include/suitesparse/cs.h:5:0,
                 from ./util/oct-sparse.h:77,
                 from array/CSparse.cc:55:
../libgnu/math.h: In function 'int signbit(float)':
../libgnu/math.h:2576:1: error: 'int signbit(float)' conflicts with a previous
declaration
 _GL_MATH_CXX_REAL_FLOATING_DECL_2 (signbit)
 ^
In file included from /usr/include/c++/6.0.0/complex:44:0,
                 from ./util/oct-cmplx.h:27,
                 from numeric/lo-mappers.h:29,
                 from array/CSparse.cc:36:
/usr/include/c++/6.0.0/cmath:681:3: note: previous declaration 'constexpr bool
std::signbit(float)'
   signbit(float __x)
   ^~~~~~~

Perhaps a gnulib issue needing update for gcc 6.




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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