From Bugzilla Helper:
User-Agent: Mozilla/4.76 [en] (X11; U; Linux 2.2.16-22smp i686)
The following code compiles fine with g++ and gcc
using namespace std;
However, when hcp (c++ compiler w/ mpi library wrapper) is used
on the same code, the following error results:
[deisz@landau tmp-c++]$ hcp main.cc
In file included from /usr/include/g++-3/complex:8,
/usr/include/g++-3/std/complext.h:314: declaration of `double hypot
(double, double)' throws different exceptions
/usr/include/bits/mathcalls.h:150: than previous declaration `double
hypot (double, double) throw ()'
Note: This error _does not_ appear when hcp from
lam-tcp-6.3.2. (rpm from the lam web site) is used.
Steps to Reproduce:
1. Attempt to compile with g++, gcc, and hcp.
2. Perform these tests on a second Redhat 7.0 machine.
I couldn't reproduce that problem with
- lam-6.3.3b28-1.i386.rpm and lam-6.3.3b47-1.i386.rpm (both tested)
could you check/update your packages ?
Please re-open that bug, if you still have problems after upgrading your packages..