Closed
Bug 139726
Opened 23 years ago
Closed 23 years ago
Duplicate variable definition broken compilers other than gcc
Categories
(Core :: XUL, defect)
Tracking
()
VERIFIED
FIXED
People
(Reporter: jay.yan, Assigned: jay.yan)
References
()
Details
Attachments
(1 file)
976 bytes,
patch
|
zhayupeng
:
review+
jag+mozilla
:
superreview+
|
Details | Diff | Splinter Review |
Please see this two function prototypes: (line 71 and 74)
70 void InitButtonEvent(nsMouseEvent &aEvent, PRUint32 aMsg,
71 GdkEventButton *aEvent);
72 void InitMouseScrollEvent(nsMouseScrollEvent &aEvent,
73 GdkEventScroll *aGdkEvent, PRUint32 aMsg);
74 void InitKeyEvent(nsKeyEvent &aEvent, GdkEventKey *aEvent, PRUint32 aMsg);
"aEvent" is defined twice. I am using CC on Solaris, the building process stops
becasue of it. other compilers can not compile it neither, I think
change the second "aEvent" into "aGdkEvent" can fix it. I will attach the patch.
it is a gtk2 port bug. let me own it.
Assignee: jaggernaut → jay.yan
Blocks: gtk2
change the the name of the duplicate variable. CC on solaris feel more
comfortable now.
Comment on attachment 80760 [details] [diff] [review]
patch
r=pete.zha
Attachment #80760 -
Flags: review+
Comment 5•23 years ago
|
||
Comment on attachment 80760 [details] [diff] [review]
patch
sr=jag
Attachment #80760 -
Flags: superreview+
checked in by Pete, thanks, Pete
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
vrfy fixed 1.10 <pete.zha@sun.com> 27 Apr 2002 02:41
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•