c++/5797: "GCC 3.04 produces internal error 108"
rodrigc@gcc.gnu.org
rodrigc@gcc.gnu.org
Sun Mar 3 10:14:00 GMT 2002
Synopsis: "GCC 3.04 produces internal error 108"
State-Changed-From-To: feedback->analyzed
State-Changed-By: rodrigc
State-Changed-When: Sun Mar 3 10:14:36 2002
State-Changed-Why:
I can reproduce your error
(I need to change the typedef for size_t from "long unsigned int" to "unsigned int" in order to compile under Linux).
With gcc 3.1 20020217 (experimental), the code compiles, but I get the following warnings:
function.h:275: warning: `typename ArithmeticFunction<Type>::Overflow' is
implicitly a typename
function.h:275: warning: implicit typename is deprecated, please see the
documentation for details
function.h:275: warning: `typename ArithmeticFunction<Type>::Underflow' is
implicitly a typename
function.h:275: warning: implicit typename is deprecated, please see the
documentation for details
function.h:285: warning: `typename ArithmeticFunction<Type>::Overflow' is
implicitly a typename
function.h:285: warning: implicit typename is deprecated, please see the
documentation for details
function.h:285: warning: `typename ArithmeticFunction<Type>::Underflow' is
implicitly a typename
function.h:285: warning: implicit typename is deprecated, please see the
documentation for details
I can get rid of the warnings with the patch which I
have attached to this PR, jee.patch.txt,
but it still will not compile with gcc 3.0.4:
So, while this still looks like a problem in gcc 3.0.4,
it looks fixed in gcc 3.1 20020217 (experimental).
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5797
More information about the Gcc-prs
mailing list