Closed
Bug 464485
Opened 16 years ago
Closed 16 years ago
npruntime sample does not compile on linux (FALSE not declared)
Categories
(Core Graveyard :: Plug-ins, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: arno, Assigned: arno)
References
Details
Attachments
(1 file)
3.15 KB,
patch
|
jaas
:
review+
roc
:
superreview+
|
Details | Diff | Splinter Review |
Hi, even after including npfunctions.h instead of npupp.h for npruntime, sample plugin does not compile. (see bug 464481 comment 1) home/arno/mozilla/modules/plugin/sdk/samples/npruntime/plugin.cpp: In constructor 'CPlugin::CPlugin(NPP_t*)': /home/arno/mozilla/modules/plugin/sdk/samples/npruntime/plugin.cpp:474: error: 'FALSE' was not declared in this scope /home/arno/mozilla/modules/plugin/sdk/samples/npruntime/plugin.cpp: In member function 'NPBool CPlugin::init(NPWindow*)': /home/arno/mozilla/modules/plugin/sdk/samples/npruntime/plugin.cpp:625: error: 'FALSE' was not declared in this scope /home/arno/mozilla/modules/plugin/sdk/samples/npruntime/plugin.cpp:643: error: 'TRUE' was not declared in this scope /home/arno/mozilla/modules/plugin/sdk/samples/npruntime/plugin.cpp: In member function 'void CPlugin::shut()': /home/arno/mozilla/modules/plugin/sdk/samples/npruntime/plugin.cpp:655: error: 'FALSE' was not declared in this scope I don't known if FALSE is defined on other platforms than linux, so I think that bug could be platform specific. That's why I filled a different bug. plugin.cpp mixes false, FALSE and PR_FALSE. What about using only false ?
Assignee | ||
Comment 1•16 years ago
|
||
Attachment #347808 -
Flags: review?(jst)
Assignee | ||
Updated•16 years ago
|
Assignee: nobody → arno
Assignee | ||
Updated•16 years ago
|
Keywords: checkin-needed
Updated•16 years ago
|
Version: unspecified → Trunk
Comment 2•16 years ago
|
||
Comment on attachment 347808 [details] [diff] [review] uses false/true in lowercase Removing 'checkin-needed', as a review is outstanding.
Updated•16 years ago
|
Keywords: checkin-needed
Assignee | ||
Updated•16 years ago
|
Attachment #347808 -
Flags: review?(jst) → review?(joshmoz)
Assignee | ||
Comment 3•16 years ago
|
||
Comment on attachment 347808 [details] [diff] [review] uses false/true in lowercase Sorry, I must have been confused when reading my bugmail. I thought it has been reviewed simultaneously with bug #464481
Attachment #347808 -
Flags: superreview?(jst)
Attachment #347808 -
Flags: review?(joshmoz)
Attachment #347808 -
Flags: review+
Attachment #347808 -
Flags: superreview?(jst) → superreview?(roc)
Attachment #347808 -
Flags: superreview?(roc) → superreview+
pushed to mozilla-central http://hg.mozilla.org/mozilla-central/rev/32a59b44146c
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Updated•2 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•