Closed
Bug 22133
Opened 25 years ago
Closed 25 years ago
Recent gtk widget changes broke build for commercial compilers
Categories
(Core :: XUL, defect, P3)
Tracking
()
VERIFIED
FIXED
People
(Reporter: tor, Assigned: pavlov)
Details
Attachments
(1 file)
3.92 KB,
patch
|
Details | Diff | Splinter Review |
I'm seeing these problems on SUNWspro 4.2, but most likely other commercial
C++ compilers are breaking the same way. A patch is attached; the first bit
for nsDragService.h adds "static" to the method which is passed to GTK as
a callback. The second bit for nsGtkEventHandler.cpp essentially backs out
pavlov's latest changes, as NS_STATIC_CAST was causing problems when
NS_RELEASE tried to assign the resulting casted pointer a zero value.
The casted pointer is not an lvalue, as even g++ will admit if you pass
it "-pedantic".
Assignee | ||
Updated•25 years ago
|
Assignee: blizzard → pavlov
Assignee | ||
Comment 2•25 years ago
|
||
reassigning to me. this patch works. my compiler was getting confused about
which addref and release to use so i added the static casts, but it no longer
seems to be confused... so i'm confused.. heh but other than that, the patch
looks good. emailing chofmann to see if i can check it in.
Assignee | ||
Updated•25 years ago
|
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 3•25 years ago
|
||
checked in patch
Updated•25 years ago
|
QA Contact: paulmac → tor
Comment 4•25 years ago
|
||
tor@cs.brown.edu please verify, thanks
You need to log in
before you can comment on or make changes to this bug.
Description
•