Closed
Bug 226555
Opened 21 years ago
Closed 21 years ago
nsCom.h is missing from gecko-sdk
Categories
(SeaMonkey :: Build Config, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: kouril, Assigned: dbaron)
Details
Attachments
(1 file)
18.10 KB,
patch
|
dougt
:
review+
darin.moz
:
superreview+
asa
:
approval1.6b+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031016
Build Identifier:
Header nsCom.h is not included in gecko-sdk (every versions since 1.5 inluding
nightly builds) but this header is included by
gecko-sdk/xpcom/include/nsTraceRefcnt.h (which is transitively included from
/tmp/gecko-sdk/xpcom/include/nsCOMPtr.h). Therefore, if I include nsCOMPtr.h in
my code, I got error from a compiler:
g++ -DXPCOM_GLUE -DMOZILLA_STRICT_API -I/tmp/gecko-sdk
-I/tmp/gecko-sdk/xpcom/include -I/tmp/gecko-sdk/nspr/include
-I/tmp/gecko-sdk/string/include -I/tmp/gecko-sdk/necko/include
-I/tmp/gecko-sdk/embedstring/include -I/usr/heimdal/include -I. -c -o
nsHttpGssapiAuth.o nsHttpGssapiAuth.cpp
In file included from /tmp/gecko-sdk/xpcom/include/nsISupportsImpl.h:52,
from /tmp/gecko-sdk/xpcom/include/nsISupportsUtils.h:61,
from /tmp/gecko-sdk/xpcom/include/nsCOMPtr.h:64,
from nsHttpGssapiAuth.cpp:38:
/tmp/gecko-sdk/xpcom/include/nsTraceRefcnt.h:41: nsCom.h: No such file or directory
Simple 'touch nsCom.h' anywhere in the -Ipath's seems to fix the problem.
Reproducible: Always
Steps to Reproduce:
Assignee | ||
Comment 1•21 years ago
|
||
All nsCom.h does now is include nscore.h, so we should probably just change
nsTraceRefcnt.h to just include nscore.h instead.
Assignee: leaf → dbaron
Status: UNCONFIRMED → NEW
Ever confirmed: true
Flags: blocking1.6b?
Assignee | ||
Comment 2•21 years ago
|
||
It would also be good to remove the now-unneeded include of stdio.h. That could
probably speed up compilation measurably...
Assignee | ||
Comment 3•21 years ago
|
||
Assignee | ||
Updated•21 years ago
|
Attachment #136255 -
Flags: review?(dougt)
Comment 4•21 years ago
|
||
Comment on attachment 136255 [details] [diff] [review]
change all uses of nsCom.h to nscore.h
could you please add a #warning to nsCom.h stating that it is deprecated.
+#include <stdio.h> // XXXldb We should remove this and add it where needed.
The above comment goes without saying.
Attachment #136255 -
Flags: review?(dougt) → review+
Assignee | ||
Updated•21 years ago
|
Attachment #136255 -
Flags: superreview?(darin)
Updated•21 years ago
|
Flags: blocking1.6b? → blocking1.6b+
Updated•21 years ago
|
Attachment #136255 -
Flags: superreview?(darin) → superreview+
Assignee | ||
Updated•21 years ago
|
Attachment #136255 -
Flags: approval1.6b?
Comment 5•21 years ago
|
||
Comment on attachment 136255 [details] [diff] [review]
change all uses of nsCom.h to nscore.h
a=asa (on behalf of drivers) for checkin to 1.6beta
Attachment #136255 -
Flags: approval1.6b? → approval1.6b+
Assignee | ||
Comment 6•21 years ago
|
||
Filed bug 227074 about not including stdio.h.
Fix checked in to trunk, 2003-11-29 10:56 -0800.
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Updated•20 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•