[Bug objc/7098] ObjC front end doesn't understand attributes on method parameters
pinskia@physics.uc.edu
gcc-bugzilla@gcc.gnu.org
Tue May 27 13:26:00 GMT 2003
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.
More information about the Gcc-bugs
mailing list