This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: c++/5797: "GCC 3.04 produces internal error 108"


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]