This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug objc/7098] ObjC front end doesn't understand attributes on method parameters


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]