[New][Multiprecision] Getting errors while writing hypercomplex classes.
I've banged out (yet another) complex number class at
https://github.com/CTMacUser/Complex. The current commit has an SHA of
"b866cda91ccdb4aa87c199c6d9e7c776fee61bcc." Right now, I'm writing this
code on a 32-bit Windows 8 system using Code::Blocks with a packaged MinGW
GCC 4.7 by TDM. In many of the incremental changes, I ran into internal
compiler errors. I don't know if my code is too unusual or it's the
compiler. I'm asking if you guys can check out the code with other
compilers (GCC 4.7 besides MinGW/TDM, GCC 4.8, Clang 3.x, non-Windows, etc.)
so we can figure out what bug goes where.
There are two class templates:
- boost::math::complex_it
These spots cause internal-compiler errors: * https://github.com/CTMacUser/Complex/blob/master/include/boost/math/complex_ it.hpp#L753 * https://github.com/CTMacUser/Complex/blob/master/include/boost/math/complex_ rt.hpp#L593 * https://github.com/CTMacUser/Complex/blob/master/include/boost/math/complex_ rt.hpp#L599 use the comments to switch the code back and see if it works on your system.
I see the compiler ICE with gcc-4.7.2.
There were also problems using Boost.Multiprecision in the unit tests. I don't know if the problems are in Multiprecison, Test, MPL, or some interaction between them. The spots in "complex_it_test.cpp" and "complex_rt_test.cpp" that use the "test_builtin_types" alias were supposed to use "test_types," but the sample types from Multiprecision had MPL errors. Switch the types and see if they work on your system.
Sorry I don't understand, what do I have to do to look at the multiprecision issue? John.
From: john@johnmaddock.co.uk Date: Mon, 17 Jun 2013 19:00:07 +0100
There were also problems using Boost.Multiprecision in the unit tests. I don't know if the problems are in Multiprecison, Test, MPL, or some interaction between them. The spots in "complex_it_test.cpp" and "complex_rt_test.cpp" that use the "test_builtin_types" alias were supposed to use "test_types," but the sample types from Multiprecision had MPL errors. Switch the types and see if they work on your system.
Sorry I don't understand, what do I have to do to look at the multiprecision issue?
Text-replace "test_builtin_types" with "test_types," except for the original typedefs at the start of the files. Daryle W.
I've banged out (yet another) complex number class at https://github.com/CTMacUser/Complex. The current commit has an SHA of "b866cda91ccdb4aa87c199c6d9e7c776fee61bcc." Right now, I'm writing this code on a 32-bit Windows 8 system using Code::Blocks with a packaged MinGW GCC 4.7 by TDM. In many of the incremental changes, I ran into internal compiler errors. I don't know if my code is too unusual or it's the compiler. I'm asking if you guys can check out the code with other compilers (GCC 4.7 besides MinGW/TDM, GCC 4.8, Clang 3.x, non-Windows, etc.) so we can figure out what bug goes where.
<snip> I'm kind of booked now and falling behind. But maybe I can look how the code is handled by VC2012 and GCC on Ubuntu on the weekend.
Daryle W.
participants (3)
-
Christopher Kormanyos
-
Daryle Walker
-
John Maddock