Closed
Bug 11195
Opened 25 years ago
Closed 15 years ago
xpt_link cores when asked to link 1 file with no interfaces
Categories
(Core :: XPCOM, defect, P2)
Tracking
()
RESOLVED
WONTFIX
Future
People
(Reporter: jband_mozilla, Unassigned)
Details
Do we want to make xpidl support idl files without interfaces? We need to either make that work or suggest a better means for putterman to do what he wants to do here: scottip@netscape.com (Scott Putterman) wrote: Someone finally caught me on that :) I always meant to try to figure it out. Let me see if I can get this right. The problem was that I wanted to generate a .h file that had a couple of types defined that could also be used from idl. The problem was that when I ran it, it complained unless I created a fake interface to go along with it. I promptly forgot about this until you brought this up. I really just cared about typedef unsigned long nsMsgKey; typedef unsigned long nsMsgViewIndex; Scott John Bandhauer wrote: Does this still need to be here? It is oddd to have 'hack' in the global interface namspace. What is the problem you were trying to solve? http://lxr.mozilla.org/seamonkey/source/mailnews/public/MailNewsTypes2.idl#22 Thanks, John
Updated•25 years ago
|
Status: NEW → ASSIGNED
Comment 1•25 years ago
|
||
Marking as assigned.
Comment 2•25 years ago
|
||
'xpidl -m header MailNewsTypes2.idl' and 'xpidl -m typelib MailNewsTypes2.xpt' (should we generate an .xpt file for an interface-less idl file?) seem to work just fine with the hacked interface commented out. It looks like xpt_link fails trying to link it, though. Big ol' core dump.
Comment 3•25 years ago
|
||
Hm. Scratch that; the failure seems to be limited to xpt_link coring whenever asked to link exactly one file, which contains no interfaces. Scott, was this the problem you were running into?
Comment 4•25 years ago
|
||
Hm. Scratch that; the failure seems to be limited to xpt_link coring whenever asked to link exactly one file, which contains no interfaces. Scott, was this the problem you were running into?
Comment 5•25 years ago
|
||
Yes. That was the problem. I'd forgotten about that. If it isn't possible to solve this, I'll try to look into moving these files into a different directory. This is an old directory that hasn't really been used since it was first created with the MailNewsTypes files(though those files are important).
Reporter | ||
Comment 6•25 years ago
|
||
I'm sure Mike will say when he wakes up... This is well worth fixing. The linker shouldn't ought to crash. Hang on and we'll have it fixed soon.
Comment 7•25 years ago
|
||
Ahem. This is well worth fixing. The linker shouldn't ought to crash. Hang on and we'll have it fixed soon.
Updated•25 years ago
|
Assignee: mccabe → mang
Status: ASSIGNED → NEW
Comment 8•25 years ago
|
||
Reassigning to mang@subcarrier.org, since I'm already working on another xpt_link crash.
Comment 9•25 years ago
|
||
Mass reassign to mccabe since I'm outta here.
Comment 10•25 years ago
|
||
Mass accept as ASSIGNED of xpidl bugs
Updated•25 years ago
|
Summary: xpidl isn't happy processing idl files w/o interfaces → xpt_link cores when asked to link 1 file with no interfaces
Comment 11•24 years ago
|
||
[SPAM] Marking milestone 'future' as part of nsbeta3 triage.
Target Milestone: --- → Future
Comment 12•23 years ago
|
||
Mass-reassigning mccabe's non-JS, non-Rhino bugs to jband (34 total). Would like to cc mccabe; but the mass-reassign page does not allow this. I'll leave it up to mccabe to decide if he wants to be cc'ed on these -
Assignee: mike+mozilla → jband
Status: ASSIGNED → NEW
Reporter | ||
Comment 13•23 years ago
|
||
mass reassign of xpidl bugs to dbradley@netscape.com
Assignee: jband → dbradley
Updated•23 years ago
|
Status: NEW → ASSIGNED
Updated•23 years ago
|
Priority: P3 → P2
Updated•18 years ago
|
Assignee: dbradley → nobody
Status: ASSIGNED → NEW
QA Contact: mike+mozilla → xpidl
Updated•15 years ago
|
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•