public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug objc++/48275] New: getter=namespace failing with .mm
@ 2011-03-24 16:19 jos at kuijpersvof dot nl
  2011-03-26  8:28 ` [Bug objc++/48275] " nicola at gcc dot gnu.org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: jos at kuijpersvof dot nl @ 2011-03-24 16:19 UTC (permalink / raw)
  To: gcc-bugs


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

           Summary: getter=namespace failing with .mm
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: blocker
          Priority: P3
         Component: objc++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: jos@kuijpersvof.nl


gcc fails to compile when using objc++ and having getter=namespace.

I don't have the latest revision of the trunk, so someone should verify it is
still there or not.

$ cat test.h
@interface Test
{
        int ns;
}
@property (getter=namespace) int ns;

@end

$ cat gccbug.mm
#import "test.h"

$ gcc-4.6 -lobjc -o test gccbug.mm
In file included from gccbug.mm:1:0:
test.h:5:19: error: expected identifier before ânamespaceâ
test.h:5:19: error: expected â)â before ânamespaceâ


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

end of thread, other threads:[~2011-10-15  8:06 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-24 16:19 [Bug objc++/48275] New: getter=namespace failing with .mm jos at kuijpersvof dot nl
2011-03-26  8:28 ` [Bug objc++/48275] " nicola at gcc dot gnu.org
2011-04-01 19:17 ` pinskia at gcc dot gnu.org
2011-06-06 22:10 ` nicola at gcc dot gnu.org
2011-06-06 22:49 ` nicola at gcc dot gnu.org
2011-10-15  8:05 ` nicola at gcc dot gnu.org
2011-10-15  8:06 ` nicola at gcc dot gnu.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).