Closed
Bug 654891
Opened 15 years ago
Closed 15 years ago
warning C4509: nonstandard extension used: 'PluginWindowEvent::Run' uses SEH and 'inst' has destructor
Categories
(Core Graveyard :: Plug-ins, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla9
People
(Reporter: RyanVM, Assigned: jimm)
References
(Blocks 1 open bug)
Details
(Whiteboard: [build_warning])
Attachments
(1 file)
|
2.08 KB,
patch
|
benjamin
:
review+
|
Details | Diff | Splinter Review |
MSVC 2010 SP1 complains about this. Looks possibly troublesome.
c:/mozbuild/mozilla-central/dom/plugins/base/nsPluginNativeWindowWin.cpp(592) : warning C4509: nonstandard extension used: 'PluginWindowEvent::Run' uses SEH and 'inst' has destructor
c:/mozbuild/mozilla-central/dom/plugins/base/nsPluginNativeWindowWin.cpp(592) : see declaration of 'inst'
| Assignee | ||
Comment 1•15 years ago
|
||
Thought we dropped all the exception handling in the old plugin code. I guess there's still some of it left hanging around.
Assignee: nobody → jmathies
Attachment #534071 -
Flags: review?(benjamin)
Comment 2•15 years ago
|
||
Comment on attachment 534071 [details] [diff] [review]
patch
the try-safe stuff is preffed off by default now but not removed, it's on my list of things to do
Attachment #534071 -
Flags: review?(benjamin) → review+
Updated•15 years ago
|
Blocks: buildwarning
Comment 3•15 years ago
|
||
I presume this makes the |NS_ENSURE_TRUE(aInst, NS_ERROR_NULL_POINTER)|, here: http://mxr.mozilla.org/mozilla-central/source/dom/plugins/base/nsPluginNativeWindowWin.cpp#182
...redundant?
Other than that, happy for me to land this? (Attempting to work my way through the build warnings meta dependants, starting with those with patches).
In reply to Benjamin Smedberg [:bsmedberg] from comment #2)
> the try-safe stuff is preffed off by default now but not removed, it's on my
> list of things to do
Happy for me to file a bug on removing it?
| Assignee | ||
Comment 4•15 years ago
|
||
(In reply to Ed Morley [:edmorley] from comment #3)
> I presume this makes the |NS_ENSURE_TRUE(aInst, NS_ERROR_NULL_POINTER)|,
> here:
> http://mxr.mozilla.org/mozilla-central/source/dom/plugins/base/
> nsPluginNativeWindowWin.cpp#182
> ...redundant?
I don't see how these changes insure GetPluginInstance can't return null.
> Other than that, happy for me to land this?
sure.
Comment 5•15 years ago
|
||
(In reply to Jim Mathies [:jimm] from comment #4)
> (In reply to Ed Morley [:edmorley] from comment #3)
> > I presume this makes the |NS_ENSURE_TRUE(aInst, NS_ERROR_NULL_POINTER)|,
> > here:
> > http://mxr.mozilla.org/mozilla-central/source/dom/plugins/base/
> > nsPluginNativeWindowWin.cpp#182
> > ...redundant?
>
> I don't see how these changes insure GetPluginInstance can't return null.
Only because aInst didn't appear to be used post patch, but I'm probably reading it wrong.
Comment 6•15 years ago
|
||
https://tbpl.mozilla.org/?tree=Try&usebuildbot=1&rev=ccff1da61351
https://hg.mozilla.org/integration/mozilla-inbound/rev/fbc0c5c938a9
Flags: in-testsuite-
Target Milestone: --- → mozilla9
Comment 7•15 years ago
|
||
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Updated•4 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•