[Bug c++/28943] Unusable error message when using a conditional-expression with multiple type arguments

2007-02-15 Thread manu at gcc dot gnu dot org
--- Comment #8 from manu at gcc dot gnu dot org 2007-02-15 22:15 --- Subject: Bug 28943 Author: manu Date: Thu Feb 15 22:15:20 2007 New Revision: 122016 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=122016 Log: 2007-02-15 Manuel Lopez-Ibanez [EMAIL PROTECTED] PR

[Bug c++/28943] Unusable error message when using a conditional-expression with multiple type arguments

2007-02-15 Thread manu at gcc dot gnu dot org
--- Comment #9 from manu at gcc dot gnu dot org 2007-02-15 22:35 --- Fixed in GCC 4.3 -- manu at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/28943] Unusable error message when using a conditional-expression with multiple type arguments

2007-01-31 Thread patchapp at dberlin dot org
--- Comment #7 from patchapp at dberlin dot org 2007-01-31 09:45 --- Subject: Bug number PR28943 A patch for this bug has been added to the patch tracker. The mailing list url for the patch is http://gcc.gnu.org/ml/gcc-patches/2007-01/msg02582.html --

[Bug c++/28943] Unusable error message when using a conditional-expression with multiple type arguments

2006-09-03 Thread lindevel at gmx dot net
--- Comment #1 from lindevel at gmx dot net 2006-09-03 19:35 --- Created an attachment (id=12181) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12181action=view) Testcase code -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28943

[Bug c++/28943] Unusable error message when using a conditional-expression with multiple type arguments

2006-09-03 Thread lindevel at gmx dot net
--- Comment #2 from lindevel at gmx dot net 2006-09-03 19:36 --- Created an attachment (id=12182) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12182action=view) Preprocessed testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28943

[Bug c++/28943] Unusable error message when using a conditional-expression with multiple type arguments

2006-09-03 Thread pinskia at physics dot uc dot edu
--- Comment #3 from pinskia at physics dot uc dot edu 2006-09-03 19:41 --- Subject: Re: New: Unusable error message when using a conditional-expression with multiple type arguments On Sun, 2006-09-03 at 19:35 +, lindevel at gmx dot net wrote: assert_testcase.cpp: In

[Bug c++/28943] Unusable error message when using a conditional-expression with multiple type arguments

2006-09-03 Thread lindevel at gmx dot net
--- Comment #4 from lindevel at gmx dot net 2006-09-03 20:08 --- You proved ##c++ wrong! They bet that I would be ignored. ;) The thing is that a void itself is not invalid. Using (expr ? void : void) works as you see in my report. In ##c++ I was told that ( x ? y : z ) wants both y

Re: [Bug c++/28943] Unusable error message when using a conditional-expression with multiple type arguments

2006-09-03 Thread Andrew Pinski
On Sun, 2006-09-03 at 20:08 +, lindevel at gmx dot net wrote: --- Comment #4 from lindevel at gmx dot net 2006-09-03 20:08 --- You proved ##c++ wrong! They bet that I would be ignored. ;) The thing is that a void itself is not invalid. Using (expr ? void : void) works as you

[Bug c++/28943] Unusable error message when using a conditional-expression with multiple type arguments

2006-09-03 Thread pinskia at physics dot uc dot edu
--- Comment #5 from pinskia at physics dot uc dot edu 2006-09-03 20:18 --- Subject: Re: Unusable error message when using a conditional-expression with multiple type arguments On Sun, 2006-09-03 at 20:08 +, lindevel at gmx dot net wrote: --- Comment #4 from

[Bug c++/28943] Unusable error message when using a conditional-expression with multiple type arguments

2006-09-03 Thread lindevel at gmx dot net
--- Comment #6 from lindevel at gmx dot net 2006-09-03 20:38 --- Perhaps the message should then be 0 (int) is of incompatible type to debug(...) (void) or similar? At least it should be more clear about the fact that the error is that both sides of the : need to be compatible (and are