Closed
Bug 3138
Opened 26 years ago
Closed 26 years ago
Some code is using static_cast
Categories
(Core :: DOM: HTML Parser, defect, P2)
Tracking
()
VERIFIED
INVALID
People
(Reporter: slogan, Assigned: scc-obsolete)
Details
./gfx/src/mac/nsRenderingContextMac.cpp: DrawingSurface* surface =
static_cast<DrawingSurface*>(aSurface);
./gfx/src/mac/nsRenderingContextMac.cpp: DrawingSurface* surface =
static_cast<DrawingSurface*>(aSurface);
./gfx/src/mac/nsRenderingContextMac.cpp: mPort =
static_cast<GrafPtr>(aWindow->GetNativeData(NS_NATIVE_DISPLAY));
./gfx/src/mac/nsRenderingContextMac.cpp: DrawingSurface* surface =
static_cast<DrawingSurface*>(aSurface);
./gfx/src/mac/nsRenderingContextMac.cpp: DrawingSurface* surface =
static_cast<DrawingSurface*>(aSurface);
./gfx/src/mac/nsRenderingContextMac.cpp: DrawingSurface* srcSurface =
static_cast<DrawingSurface*>(aSrcSurf);
./gfx/src/mac/nsRenderingContextMac.cpp: DrawingSurface* surface =
static_cast<DrawingSurface*>(aSurface);
./widget/src/gtk/nsWidget.cpp: aStatus =
mMenuListener->MenuSelected(static_cast<nsMenuEvent&>(*event));
./widget/src/mac/nsMacEventHandler.cpp:
::SetPort(static_cast<GrafPort*>(mTopLevelWidget->GetNativeData(NS_NATIVE_DISPLAY)));
Updated•26 years ago
|
Assignee: sdagley → scc
OS: AIX → Mac System 8.5
Hardware: All → Macintosh
Comment 1•26 years ago
|
||
Reassigning to the C++ guru (and making it a Mac bug so it shows up on my default
bug query)
Note, it isn't strictly a Mac problem, but most of the ones grep found were in
Mac code.
Component: Platform: MacOS/PPC → Parser
Product: Mozilla → NGLayout
Version: 1998-03-31 → other
Assignee | ||
Updated•26 years ago
|
Status: NEW → ASSIGNED
Comment 4•26 years ago
|
||
Scott, why do you have this bug? Nearly all of the problems are in GFX, right?
Can't the Gecko Mac folks handle this?
Assignee | ||
Comment 5•26 years ago
|
||
Yes. I have no idea why this bug is assigned to me. I also have no
idea why using |static_cast| in platform specific code is wrong. We
know these aren't problems because we compile on all platforms, ergo,
this code is not building on non-compliant platforms. A strong hint
to say the least. When I get around to it, I'll do a search and
re-assign the bug accordingly. ... Unless we decide to 86 it
entirely.
Updated•26 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → INVALID
Comment 6•26 years ago
|
||
resolving as invalid. Please reopen if necessary, but include a description of
what the problem is, and assign it to someone who is responsible for GFX
Updated•26 years ago
|
Status: RESOLVED → VERIFIED
Comment 7•26 years ago
|
||
marking verified per last comments
You need to log in
before you can comment on or make changes to this bug.
Description
•