public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug objc/19324] New: [3.4/4.0 Regression] weird message for interface way in implementation
@ 2005-01-08  0:17 pinskia at gcc dot gnu dot org
  2005-01-08  0:17 ` [Bug objc/19324] " pinskia at gcc dot gnu dot org
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-01-08  0:17 UTC (permalink / raw)
  To: gcc-bugs

@interface Foo
-(void) quux: (int [5])a;
@end

@implementation Foo
-(void) quux: (int *)a;
@end

With the mainline we get:
t.m: In function '-[Foo quux:]':
t.m:7: error: parse error before 'AT_NAME' token
t.m:7: warning: '@end' missing in implementation context

But with 3.3.2, we get:
t.m:7: error: parse error before "end"

3.4.0 is just as bad as 3.3.x:
t.m:7: error: parse error before 'CPP_AT_NAME' token
t.m:7: confused by earlier errors, bailing out

-- 
           Summary: [3.4/4.0 Regression] weird message for interface way in
                    implementation
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Keywords: diagnostic
          Severity: minor
          Priority: P2
         Component: objc
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pinskia at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org


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


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2005-09-08 13:11 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-08  0:17 [Bug objc/19324] New: [3.4/4.0 Regression] weird message for interface way in implementation pinskia at gcc dot gnu dot org
2005-01-08  0:17 ` [Bug objc/19324] " pinskia at gcc dot gnu dot org
2005-01-08  0:17 ` pinskia at gcc dot gnu dot org
2005-01-19 22:46 ` mmitchel at gcc dot gnu dot org
2005-03-05 19:53 ` [Bug objc/19324] [3.4/4.0/4.1 " pinskia at gcc dot gnu dot org
2005-03-09 16:32 ` pinskia at gcc dot gnu dot org
2005-08-22  2:38 ` mmitchel at gcc dot gnu dot org
2005-08-22  8:37 ` lars dot sonchocky-helldorf at hamburg dot de
2005-09-03  3:12 ` pinskia at gcc dot gnu dot org
2005-09-03 17:56 ` pinskia at gcc dot gnu dot org
2005-09-08 13:08 ` pinskia at gcc dot gnu dot org
2005-09-08 13:09 ` pinskia at gcc dot gnu dot org
2005-09-08 13:11 ` cvs-commit at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).