This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug objc/7098] ObjC front end doesn't understand attributes on method parameters
- From: "pinskia at physics dot uc dot edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 27 May 2003 13:22:32 -0000
- Subject: [Bug objc/7098] ObjC front end doesn't understand attributes on method parameters
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=7098
pinskia@physics.uc.edu changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2003-05-27 13:22:31
date| |
------- Additional Comments From pinskia@physics.uc.edu 2003-05-27 13:22 -------
The testcase in comment one is incomplete.
Here is a complete one:
@interface SaturnDoc
- read: (void*)aStream;
@end
@implementation SaturnDoc
- read: (void*)aStream __attribute__ ((__unused__))
{ return self; }
@end
gcc still does not accept this though:
test1.m: In function `-[SaturnDoc read:]':
test1.m:6: error: parse error before "__attribute__"
test1.m:6: warning: unused parameter `aStream'
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.