Closed
Bug 450341
Opened 16 years ago
Closed 2 years ago
Remove the typeof operator
Categories
(Core :: XPCOM, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: Techrazy.Yang, Unassigned)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
643 bytes,
patch
|
benjamin
:
review+
|
Details | Diff | Splinter Review |
The typeof operator is used to deal with the situation that we can't declare a function pointer to member function with __attribute__ in some version of GCC. And now the the operator itself may be broken and there is patch for repairing the member function pointer problem is under discuss. So, remove the typeof may be better.
Attachment #333490 -
Flags: review?(benjamin)
Comment 1•16 years ago
|
||
Comment on attachment 333490 [details] [diff] [review] The proposal patch Does this syntax work with older (3.3/3.4) versions of GCC? I'm going to put it through a tryserver run also.
Attachment #333490 -
Flags: review?(cls)
Attachment #333490 -
Flags: review?(benjamin)
Attachment #333490 -
Flags: review+
(In reply to comment #1) > (From update of attachment 333490 [details] [diff] [review]) > Does this syntax work with older (3.3/3.4) versions of GCC? I'm going to put it > through a tryserver run also. Both 3.4.1 and 3.4.2 supports this syntax and works well but 3.3.5 does not support this syntax.
Comment 3•13 years ago
|
||
bsmedberg, should anything still block this from landing?
Assignee: nobody → Techrazy.Yang
Comment 4•13 years ago
|
||
Do we need it? I know that GCC 4.2 had problems where stdcall function pointers didn't generate correct code, and since that probably affects MacOS I don't think we should try to land this unless 1) we need it and 2) it's tested thoroughly.
Attachment #333490 -
Flags: review?(cls)
Comment 5•2 years ago
|
||
The bug assignee didn't login in Bugzilla in the last 7 months.
:nika, could you have a look please?
For more information, please visit auto_nag documentation.
Assignee: Techrazy.Yang → nobody
Flags: needinfo?(nika)
Comment 6•2 years ago
|
||
Pretty sure this code is gone at this point
Status: NEW → RESOLVED
Closed: 2 years ago
Flags: needinfo?(nika)
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•