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 sile
"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 m
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:
| >
| > stru
ge-
> From: 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:
>
> > Pe
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 inline T operator+(const T& a, nullType) {
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 inline T operator+(const T& a, nullType) { return a;
}
enum named { namedA = 1, namedB = 2 }