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

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

[Octave-bug-tracker] [bug #54217] Build fails with error: call of overlo


From: Mike Miller
Subject: [Octave-bug-tracker] [bug #54217] Build fails with error: call of overloaded ‘pow(int,int)’ is ambiguous
Date: Mon, 2 Jul 2018 13:40:40 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0

Follow-up Comment #12, bug #54217 (project octave):

The PIC option is determined automatically by configure, this may be an
Autoconf problem or a configuration issue that can be worked around on your
system.

Can you attach or pastebin a compressed copy of your config.log?

Assuming the PIC option can be fixed, the patches I have posted so far fall
into two categories

* use exp2 instead of pow, delete unnecessary floor on int types
* rename local abs function template to xabs

The first changes for pow and floor are definitely good changes and those will
be included in Octave 4.4.1.

The 'abs' changes look like a workaround for a weird C++ overload resolution
problem that I don't understand, or that may have been fixed in later versions
of GCC, so I do not think it should be included in 4.4.1 at this point. But we
should look at cleaning up the 'abs' section of code for Octave 5.

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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