Closed
Bug 242909
Opened 21 years ago
Closed 14 years ago
pnwin.cpp doesn't compile with win32/cygwin/msvc due to error in code
Categories
(Core Graveyard :: Embedding: ActiveX Wrapper, defect)
Tracking
(Not tracked)
RESOLVED
INVALID
People
(Reporter: dino, Unassigned)
References
()
Details
(Keywords: helpwanted)
Attachments
(1 file)
|
33.67 KB,
patch
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; pl-PL; rv:1.6) Gecko/20040206 Firefox/0.8
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.2; pl-PL; rv:1.6) Gecko/20040206 Firefox/0.8
Code in embedding/browser/activex/src/plugin/npwin.cpp has a strange order of
lines. It requires access to functions without properly declaring their
prototypes (lines 34-43). Putting the prototype of NPP_GetJavaClass and placing
code after NPN_GetJavaEnv (eg. at the end of file) fixes it.
Reproducible: Always
Steps to Reproduce:
1. Do everything to setup your win/cygwin environment as said in docs on
building under win32
2. make -f client.mk checkout
3. make -f client.mk build
Actual Results:
The compiler gave up on embedding/browser/activex/src/plugin/npwin.cpp
Expected Results:
Build the Mozilla, I guess :)
Attachment #147915 -
Flags: superreview?(darin)
Attachment #147915 -
Flags: review?(adamlock)
Comment on attachment 147915 [details] [diff] [review]
ifdef OJI. update npapi.h to current
I copied npwin.cpp from a plugin SDK circa 1998. I'd prefer to see the plugin
makefile fixed up to use the current npwin.cpp
(http://lxr.mozilla.org/seamonkey/source/modules/plugin/samples/default/windows
/npwin.cpp) if that compiles okay rather than fix up an old one.
Keywords: helpwanted
Comment 3•21 years ago
|
||
Comment on attachment 147915 [details] [diff] [review]
ifdef OJI. update npapi.h to current
please re-request SR once you have module owner approval or something
equivalent to that.
Attachment #147915 -
Flags: superreview?(darin)
Updated•16 years ago
|
QA Contact: dunn5557 → activex
Comment 4•14 years ago
|
||
The ActiveX embedding API was removed in bug 662023 and friends, making this INVALID.
[Filter bugspam on activexinvalid]
Assignee: timeless → nobody
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → INVALID
| Assignee | ||
Updated•13 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•