Closed Bug 57094 Opened 24 years ago Closed 24 years ago

xpidl-generated headers shouldn't need NS_NO_VTABLE

Categories

(Core :: XPCOM, defect, P3)

x86
Linux
defect

Tracking

()

RESOLVED FIXED

People

(Reporter: mike+mozilla, Assigned: mike+mozilla)

Details

Attachments

(2 files)

Pavlov is working with some small IDL files that don't include nsISupports.idl;
nsISupportsUtils.idl.  This currently busts because header output assumes that
NS_NO_VTABLE is defined (it's used to enable an optimization on Windows).  We
can easily add an #ifndef define of NS_NO_VTABLE to avoid this problem.  Diff to
follow.
sr=jband
Fix checked in.  (After a few fireworks; turns out we also needed to #undef
NS_NO_VTABLE in nsISupportsUtils.h in the case when it was already defined by
the xpidl-generated header.)
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Component: xpidl → XPCOM
QA Contact: mike+mozilla → xpcom
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: