This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
RV: Make error (gcc)
- To: <gcc-help at gcc dot gnu dot org>
- Subject: RV: Make error (gcc)
- From: "Ezequiel Glinsky" <eglinsky at bumeran dot com>
- Date: Fri, 30 Mar 2001 12:20:43 -0300
Dear people,
I'm having a problem compiling a project under
gcc version 2.96 20000731 (it's a rh7)
But in the...
gcc version 2.91.66 19990314 (it's a rh6.x) the compiler doesn't report any
error at all.
Some extra info:
In the file error2.txt is the error's log (there where a couple of warinings
that I've corrected, but also in the 2.91.66 the warnings didn't show! Just
a couple of "warning: no newline at end of file").
I'm also including the files undefd.h (from my project) and mathcalls.h
(/usr/include/bits/mathcalls.h) that are involved in the "...throws
different exceptions..." erorrs.
Is this a bug or what do you think?
Thanks a lot for your help!
Ezequiel.
--
Ezequiel Glinsky
eglinsky@bumeran.com
[root@localhost testmake]# make
g++ -c -I/usr/include -Wall -O3 neighval.cpp
In file included from real.h:18,
from mylist.h:13,
from neighval.h:22,
from neighval.cpp:19:
undefd.h:47: declaration of nt isnan (double)' throws different
exceptions
/usr/include/bits/mathcalls.h:221: than previous declaration nt isnan
(double) throw ()'
undefd.h:77: declaration of nt isinf (double)' throws different
exceptions
/usr/include/bits/mathcalls.h:184: than previous declaration nt isinf
(double) throw ()'
In file included from real.h:20,
from mylist.h:13,
from neighval.h:22,
from neighval.cpp:19:
tbool.h:58: declaration does not declare anything
tbool.h:58: parse error before '
tbool.h: In method t_xor<T, Z>::operator() (const T &, const T &)
const':
tbool.h:158: parse error before '
tbool.h: At top level:
tbool.h:228: parse error before '
make: *** [neighval.o] Error 1
[root@localhost testmake]#
undefd.h
mathcalls.h