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

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

[Octave-bug-tracker] [bug #54235] problems building Octave on Solaris


From: Michele
Subject: [Octave-bug-tracker] [bug #54235] problems building Octave on Solaris
Date: Fri, 6 Jul 2018 17:02:54 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; SunOS sun4u; rv:52.0) Gecko/20100101 Firefox/52.0

Follow-up Comment #29, bug #54235 (project octave):

"Your build log shows some serious C++ problems, you did not have those errors
when you built with GCC 4.9.2, isn't that right?"

That is correct.

"There is a very serious configuration problem with the GCC 5.5.0 you
installed if you can't compile a trivial program like this (this test program
shows as failed in your config.log):"

Seems to work for me...


# more foo.cc
#include <complex>

int
main ()
{
  std::complex<double> x;
  x.real (1.0);
  x.imag (2.0);
  return 0;
}
# g++ foo.cc
# ./a.out
#

# more complex.cc
#include <iostream>     // std::cout
#include <complex>      // std::complex

int main ()
{
  std::complex<double> first (2.0,2.0);
  std::complex<float>  second (first);

  std::cout << second << '\n';

  return 0;
}
# g++ complex.cc
# ./a.out
(2,2)
#

"Could you run the minimal configure again in this fashion"

Done.  config.summary is here:
https://login.filesanywhere.com/fs/v.aspx?v=8c69638b5e6776aaa8ad

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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