Closed
Bug 920112
Opened 11 years ago
Closed 11 years ago
mozHunspellDirProvider.h:63:5: error: unknown type name 'nsCOMPtr'
Categories
(Core :: Spelling checker, defect)
Tracking
()
RESOLVED
FIXED
mozilla27
People
(Reporter: jbeich, Assigned: jbeich)
References
Details
(Keywords: regression)
Attachments
(1 file)
858 bytes,
patch
|
ehsan.akhgari
:
review+
|
Details | Diff | Splinter Review |
In file included from extensions/spellcheck/hunspell/src/mozHunspellDirProvider.cpp:36: extensions/spellcheck/hunspell/src/mozHunspellDirProvider.h:63:5: error: unknown type name 'nsCOMPtr' nsCOMPtr<nsISimpleEnumerator> mBase; ^ extensions/spellcheck/hunspell/src/mozHunspellDirProvider.h:63:13: error: expected member name or ';' after declaration specifiers nsCOMPtr<nsISimpleEnumerator> mBase; ~~~~~~~~^ extensions/spellcheck/hunspell/src/mozHunspellDirProvider.h:64:5: error: unknown type name 'nsCOMPtr' nsCOMPtr<nsIFile> mNext; ^ extensions/spellcheck/hunspell/src/mozHunspellDirProvider.h:64:13: error: expected member name or ';' after declaration specifiers nsCOMPtr<nsIFile> mNext; ~~~~~~~~^ extensions/spellcheck/hunspell/src/mozHunspellDirProvider.cpp:62:3: error: use of undeclared identifier 'nsCOMPtr' nsCOMPtr<nsIProperties> dirSvc = ^ extensions/spellcheck/hunspell/src/mozHunspellDirProvider.cpp:62:12: error: use of undeclared identifier 'nsIProperties' nsCOMPtr<nsIProperties> dirSvc = ^ extensions/spellcheck/hunspell/src/mozHunspellDirProvider.cpp:62:27: error: use of undeclared identifier 'dirSvc' nsCOMPtr<nsIProperties> dirSvc = ^ extensions/spellcheck/hunspell/src/mozHunspellDirProvider.cpp:63:5: error: use of undeclared identifier 'do_GetService' do_GetService(NS_DIRECTORY_SERVICE_CONTRACTID); ^ extensions/spellcheck/hunspell/src/mozHunspellDirProvider.cpp:64:8: error: use of undeclared identifier 'dirSvc' if (!dirSvc) ^ extensions/spellcheck/hunspell/src/mozHunspellDirProvider.cpp:67:3: error: use of undeclared identifier 'nsCOMPtr' nsCOMPtr<nsISimpleEnumerator> list; ^ extensions/spellcheck/hunspell/src/mozHunspellDirProvider.cpp:67:12: error: 'nsISimpleEnumerator' does not refer to a value nsCOMPtr<nsISimpleEnumerator> list; ^ ../../../../dist/include/nsICategoryManager.h:17:7: note: declared here class nsISimpleEnumerator; /* forward declaration */ ^ extensions/spellcheck/hunspell/src/mozHunspellDirProvider.cpp:67:33: error: use of undeclared identifier 'list' nsCOMPtr<nsISimpleEnumerator> list; ^ extensions/spellcheck/hunspell/src/mozHunspellDirProvider.cpp:68:17: error: use of undeclared identifier 'dirSvc' nsresult rv = dirSvc->Get(XRE_EXTENSIONS_DIR_LIST, ^ extensions/spellcheck/hunspell/src/mozHunspellDirProvider.cpp:70:23: error: use of undeclared identifier 'list' getter_AddRefs(list)); ^ extensions/spellcheck/hunspell/src/mozHunspellDirProvider.cpp:74:3: error: use of undeclared identifier 'nsCOMPtr' nsCOMPtr<nsISimpleEnumerator> e = new AppendingEnumerator(list); ^ extensions/spellcheck/hunspell/src/mozHunspellDirProvider.cpp:74:12: error: 'nsISimpleEnumerator' does not refer to a value nsCOMPtr<nsISimpleEnumerator> e = new AppendingEnumerator(list); ^ ../../../../dist/include/nsICategoryManager.h:17:7: note: declared here class nsISimpleEnumerator; /* forward declaration */ ^ extensions/spellcheck/hunspell/src/mozHunspellDirProvider.cpp:74:33: error: use of undeclared identifier 'e' nsCOMPtr<nsISimpleEnumerator> e = new AppendingEnumerator(list); ^ extensions/spellcheck/hunspell/src/mozHunspellDirProvider.cpp:74:61: error: use of undeclared identifier 'list' nsCOMPtr<nsISimpleEnumerator> e = new AppendingEnumerator(list); ^ extensions/spellcheck/hunspell/src/mozHunspellDirProvider.cpp:75:8: error: use of undeclared identifier 'e' if (!e) ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. gmake[3]: *** [mozHunspellDirProvider.o] Error 1
Updated•11 years ago
|
Keywords: regression
Attachment #809964 -
Flags: review?(ehsan)
Comment 2•11 years ago
|
||
Thanks for the fix, Jan. It fails on my Linux system. I can't see how this builds anywhere. Perhaps some conditional inclusion somewhere, but I haven't found it.
OS: FreeBSD → All
Updated•11 years ago
|
Attachment #809964 -
Flags: review?(ehsan) → review+
Updated•11 years ago
|
Keywords: checkin-needed
Comment 3•11 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/ff6fed474ee2
Assignee: nobody → jbeich
Keywords: checkin-needed
Comment 4•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/ff6fed474ee2
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla27
You need to log in
before you can comment on or make changes to this bug.
Description
•