Opened 7 years ago

Last modified 7 years ago

#11553 new Bugs

Problem with std::complex

Reported by: lcarreon@… Owned by: Stefan Seefeld
Milestone: To Be Determined Component: python USE GITHUB
Version: Boost 1.59.0 Severity: Problem
Keywords: Cc:

Description

I compiled Boost 1.59.0 with Solaris Studio 12.4 in C++11 mode and I get the following error messages:

"libs/python/src/converter/builtin_converters.cpp", line 474: Error: Overloading ambiguity between "std::complex<double>::complex(double, double)" and "std::complex<double>::complex(complex double[2])". "libs/python/src/converter/builtin_converters.cpp", line 474: Error: Cannot return long from a function that should return std::complex<double>.

I suspect this is a compiler issue, just want to confirm.

Change History (2)

comment:1 by Ralf W. Grosse-Kunstleve, 7 years ago

Owner: changed from Ralf W. Grosse-Kunstleve to Stefan Seefeld

Hi Stefan, could you help out?

comment:2 by anonymous, 7 years ago

I can try. Would you mind taking the issue to Boost.Python's github issue tracker at https://github.com/boostorg/python/issues ? Thanks !

Note: See TracTickets for help on using tickets.