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
* [Bug objc++/48275] getter=namespace failing with .mm
2011-03-24 16:19 [Bug objc++/48275] New: getter=namespace failing with .mm jos at kuijpersvof dot nl
@ 2011-03-26 8:28 ` nicola at gcc dot gnu.org
2011-04-01 19:17 ` pinskia at gcc dot gnu.org
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: nicola at gcc dot gnu.org @ 2011-03-26 8:28 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48275
Nicola Pero <nicola at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2011.03.26 08:19:29
CC| |nicola at gcc dot gnu.org
Ever Confirmed|0 |1
--- Comment #1 from Nicola Pero <nicola at gcc dot gnu.org> 2011-03-26 08:19:29 UTC ---
Yes, this is unfortunately confirmed --
[nicola@lampone property]$ g++ cxx-property-1.mm -c
cxx-property-1.mm:8:19: error: expected identifier before ‘namespace’
cxx-property-1.mm:8:19: error: expected ‘)’ before ‘namespace’
[nicola@lampone property]$
Thanks a lot for reporting it.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug objc++/48275] getter=namespace failing with .mm
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
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu.org @ 2011-04-01 19:17 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48275
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |rejects-valid
Severity|blocker |normal
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug objc++/48275] getter=namespace failing with .mm
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
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: nicola at gcc dot gnu.org @ 2011-06-06 22:10 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48275
--- Comment #2 from Nicola Pero <nicola at gcc dot gnu.org> 2011-06-06 22:09:51 UTC ---
Author: nicola
Date: Mon Jun 6 22:09:47 2011
New Revision: 174726
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=174726
Log:
In gcc/cp/:
2011-06-06 Nicola Pero <nicola.pero@meta-innovation.com>,
PR obj-c++/48275
* parser.c (cp_parser_objc_at_property_declaration): Allow setter
and getter names to use all the allowed method names.
In gcc/testsuite/:
2011-06-06 Nicola Pero <nicola.pero@meta-innovation.com>
PR objc-++/48275
* obj-c++.dg/property/cxx-property-1.mm: New.
* obj-c++.dg/property/cxx-property-2.mm: New.
Added:
trunk/gcc/testsuite/obj-c++.dg/property/cxx-property-1.mm
trunk/gcc/testsuite/obj-c++.dg/property/cxx-property-2.mm
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/parser.c
trunk/gcc/testsuite/ChangeLog
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug objc++/48275] getter=namespace failing with .mm
2011-03-24 16:19 [Bug objc++/48275] New: getter=namespace failing with .mm jos at kuijpersvof dot nl
` (2 preceding siblings ...)
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
5 siblings, 0 replies; 7+ messages in thread
From: nicola at gcc dot gnu.org @ 2011-06-06 22:49 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48275
Nicola Pero <nicola at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Known to work| |4.7.0
Resolution| |FIXED
--- Comment #3 from Nicola Pero <nicola at gcc dot gnu.org> 2011-06-06 22:49:07 UTC ---
Resolved in trunk.
Thanks
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug objc++/48275] getter=namespace failing with .mm
2011-03-24 16:19 [Bug objc++/48275] New: getter=namespace failing with .mm jos at kuijpersvof dot nl
` (3 preceding siblings ...)
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
5 siblings, 0 replies; 7+ messages in thread
From: nicola at gcc dot gnu.org @ 2011-10-15 8:05 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48275
--- Comment #4 from Nicola Pero <nicola at gcc dot gnu.org> 2011-10-15 08:04:39 UTC ---
Author: nicola
Date: Sat Oct 15 08:04:33 2011
New Revision: 180023
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=180023
Log:
In gcc/cp/:
2011-10-15 Nicola Pero <nicola.pero@meta-innovation.com>
Backport from mainline
2011-06-06 Nicola Pero <nicola.pero@meta-innovation.com>,
PR obj-c++/48275
* parser.c (cp_parser_objc_at_property_declaration): Allow setter
and getter names to use all the allowed method names.
In gcc/testsuite/:
2011-10-15 Nicola Pero <nicola.pero@meta-innovation.com>
Backport from mainline
2011-06-06 Nicola Pero <nicola.pero@meta-innovation.com>
PR objc-++/48275
* obj-c++.dg/property/cxx-property-1.mm: New.
* obj-c++.dg/property/cxx-property-2.mm: New.
Added:
branches/gcc-4_6-branch/gcc/testsuite/obj-c++.dg/property/cxx-property-1.mm
branches/gcc-4_6-branch/gcc/testsuite/obj-c++.dg/property/cxx-property-2.mm
Modified:
branches/gcc-4_6-branch/gcc/cp/ChangeLog
branches/gcc-4_6-branch/gcc/cp/parser.c
branches/gcc-4_6-branch/gcc/testsuite/ChangeLog
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug objc++/48275] getter=namespace failing with .mm
2011-03-24 16:19 [Bug objc++/48275] New: getter=namespace failing with .mm jos at kuijpersvof dot nl
` (4 preceding siblings ...)
2011-10-15 8:05 ` nicola at gcc dot gnu.org
@ 2011-10-15 8:06 ` nicola at gcc dot gnu.org
5 siblings, 0 replies; 7+ messages in thread
From: nicola at gcc dot gnu.org @ 2011-10-15 8:06 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48275
Nicola Pero <nicola at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |4.6.2
^ 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).