Re: Problem with use of anonymous types

2005-05-07 Thread Gabriel Dos Reis
Andrew Pinski [EMAIL PROTECTED] writes: | On May 6, 2005, at 8:09 PM, Julian Cummings wrote: | | People are reporting trouble compiling blitz with gcc-4.0.0, and the | compiler errors are resulting from the use of unnamed enums. A | simple code | illustrates the problem: | |struct

Re: Problem with use of anonymous types

2005-05-07 Thread Gabriel Dos Reis
Julian Cummings [EMAIL PROTECTED] writes: | Hmmm... I just read through the bug reports you cited. Sounds to me like | this is still somewhat of an open issue, as to whether the compiler should | issue an error in these cases or simply silently discard any templated | function as a possible

Re: Problem with use of anonymous types

2005-05-07 Thread Andrew Pinski
On May 7, 2005, at 6:40 PM, Gabriel Dos Reis wrote: Julian Cummings [EMAIL PROTECTED] writes: | Hmmm... I just read through the bug reports you cited. Sounds to me like | this is still somewhat of an open issue, as to whether the compiler should | issue an error in these cases or simply

Re: Problem with use of anonymous types

2005-05-06 Thread Andrew Pinski
On May 6, 2005, at 8:09 PM, Julian Cummings wrote: People are reporting trouble compiling blitz with gcc-4.0.0, and the compiler errors are resulting from the use of unnamed enums. A simple code illustrates the problem: struct nullType {}; template typename T inline T operator+(const T a,

RE: Problem with use of anonymous types

2005-05-06 Thread Julian Cummings
: Andrew Pinski [mailto:[EMAIL PROTECTED] Sent: Friday, May 06, 2005 5:09 PM To: Julian Cummings Cc: gcc-bugs@gcc.gnu.org Subject: Re: Problem with use of anonymous types On May 6, 2005, at 8:09 PM, Julian Cummings wrote: People are reporting trouble compiling blitz with gcc-4.0.0