This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
HP-UX 10.20 won't build 3.0-20010611's libstdc++-v3
- To: libstdc++ at gcc dot gnu dot org, gcc-bugs at gcc dot gnu dot org, bkoz at redhat dot com
- Subject: HP-UX 10.20 won't build 3.0-20010611's libstdc++-v3
- From: Alexandre Oliva <aoliva at redhat dot com>
- Date: 13 Jun 2001 01:03:18 -0300
- Organization: GCC Team, Red Hat
The problem is that /usr/include/math.h declares:
# ifdef __cplusplus
}
inline double pow(double __d,int __expon) {
return pow(__d,(double)__expon);
}
extern "C" {
#else
# endif
and this declaration conflicts with c_std/bits/std_cmath.h:
In file included from /home/oliva/src/tool/egcs/libstdc++-v3/include/bits/std_complex.h:43,
from /home/oliva/src/tool/egcs/libstdc++-v3/src/complex_io.cc:30:
/home/oliva/src/tool/egcs/libstdc++-v3/include/c_std/bits/std_cmath.h: In
function `double std::pow(double, int)':
/home/oliva/src/tool/egcs/libstdc++-v3/include/c_std/bits/std_cmath.h:419: `double
std::pow(double, int)' conflicts with previous using declaration `double
pow(double, int)'
I don't see any change in 3.0 branch since the snapshot that might
have fixed this problem. Suggestions?
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me