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

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

[Octave-bug-tracker] [bug #43220] libgnu/math.h conflicting declaration


From: anonymous
Subject: [Octave-bug-tracker] [bug #43220] libgnu/math.h conflicting declaration of C function 'int signbit(double)'
Date: Sun, 14 Sep 2014 05:42:12 +0000
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_4) AppleWebKit/537.78.2 (KHTML, like Gecko) Version/7.0.6 Safari/537.78.2

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

                 Summary: libgnu/math.h conflicting declaration of C function
'int signbit(double)'
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Sun 14 Sep 2014 05:42:10 AM UTC
                Category: Plotting with OpenGL
                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: 3.8.2
        Operating System: Mac OS

    _______________________________________________________

Details:

When compiling on os x 10.9.4, I encountered such errors:

In file included from /usr/local/include/SuiteSparse_config.h:47:0,
                 from /usr/local/include/amd.h:46,
                 from ./util/oct-sparse.h:33,
                 from numeric/sparse-base-chol.h:27,
                 from numeric/SparseCmplxCHOL.h:27,
                 from numeric/SparseCmplxCHOL.cc:28:
../libgnu/math.h: In function 'int signbit(double)':
../libgnu/math.h:2576:1: error: conflicting declaration of C function 'int
signbit(double)'
 _GL_MATH_CXX_REAL_FLOATING_DECL_2 (signbit)
 ^
../libgnu/math.h:2576:1: note: previous declaration 'int signbit(float)'
 _GL_MATH_CXX_REAL_FLOATING_DECL_2 (signbit)
 ^
../libgnu/math.h: In function 'int signbit(long double)':
../libgnu/math.h:2576:1: error: conflicting declaration of C function 'int
signbit(long double)'
 _GL_MATH_CXX_REAL_FLOATING_DECL_2 (signbit)
 ^
../libgnu/math.h:2576:1: note: previous declaration 'int signbit(double)'
 _GL_MATH_CXX_REAL_FLOATING_DECL_2 (signbit)
 ^
../libgnu/math.h:2576:1: error: conflicting declaration of C function 'int
signbit(long double)'
 _GL_MATH_CXX_REAL_FLOATING_DECL_2 (signbit)
 ^
../libgnu/math.h:2576:1: note: previous declaration 'int signbit(float)'
 _GL_MATH_CXX_REAL_FLOATING_DECL_2 (signbit)


and my configure option is:

./configure --prefix=/usr/local --disable-atomic-refcount
--disable-octave-allocator --enable-bounds-check --disable-gui
--with-shell=/usr/local/bin/bash --with-framework-opengl
--with-lapack="-llapack" --with-colamd-libdir=/usr/local/lib
--with-colamd-includedir=/usr/local/include
--with-ccolamd-includedir=/usr/local/include
--with-ccolamd-libdir=/usr/local/lib
--with-arpack-includedir=/usr/local/include
--with-arpack-libdir=/usr/local/lib --with-colamd="-lcolamd"
--with-ccolamd="-lccolamd" --enable-readline



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Sun 14 Sep 2014 05:42:11 AM UTC  Name: configured.log  Size: 69kB   By:
None

<http://savannah.gnu.org/bugs/download.php?file_id=32090>

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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