This is the mail archive of the java-prs@gcc.gnu.org mailing list for the Java 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]

[Bug c++/36576] gcc 4.3.1 doesn't build for me on openSUSE 10.3



------- Comment #11 from pinskia at gcc dot gnu dot org  2008-06-20 12:37 -------
> There is also no ambiguity in this:

Why that is invalid code is shown on http://gcc.gnu.org/gcc-3.4/changes.html .

(In reply to comment #9)
> Which rule is forbidding this:
> 
> template <class T> class CTest {
>    struct test {
>       int i;
>    } test *testptr;
> };

For this, you have a variable that is test and then *testptr which does not
make sense.  Try it in a non template and you will see that it is invalid code.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36576


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