Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1733308 - Fix non-unified builds errors in xpcom/io. r=xpcom-revi…
…ewers,mccr8 xpcom/io/InputStreamLengthHelper.cpp:14:22: error: unused variable 'kStreamTransportServiceCID' [-Werror,-Wunused-const-variable] xpcom/io/SeekableStreamWrapper.cpp:422:17: error: no member named 'InputStreamHelper' in namespace 'mozilla::ipc' xpcom/io/nsSegmentedBuffer.cpp:117:11: error: no viable conversion from '(lambda at /tmp/central/xpcom/io/nsSegmentedBuffer.cpp:117:11)' to 'void *' xpcom/io/nsSegmentedBuffer.cpp:128:11: error: no viable conversion from '(lambda at /tmp/central/xpcom/io/nsSegmentedBuffer.cpp:128:11)' to 'void *' xpcom/io/nsSegmentedBuffer.cpp:131:25: error: out-of-line definition of 'FreeOMT' does not match any declaration in 'nsSegmentedBuffer' xpcom/io/nsSegmentedBuffer.cpp:143:16: error: use of function template name with no prior declaration in function call with explicit template arguments is a C++20 extension [-Werror,-Wc++20-extensions] xpcom/io/nsSegmentedBuffer.cpp:143:16: error: use of undeclared identifier 'MakeRefPtr'; did you mean 'mozilla::MakeRefPtr'? xpcom/io/nsSegmentedBuffer.cpp:164:35: error: implicit instantiation of undefined template 'nsTArray<std::function<void ()>>' xpcom/io/nsSegmentedBuffer.cpp:164:44: error: lambda capture 'this' is not used [-Werror,-Wunused-lambda-capture] xpcom/io/nsSegmentedBuffer.cpp:165:14: error: use of undeclared identifier 'mTasks' xpcom/io/nsSegmentedBuffer.h:90:25: error: member initializer 'mTasks' does not name a non-static data member or base class xpcom/io/nsSegmentedBuffer.h:95:25: error: no template named 'function' in namespace 'std' xpcom/io/nsSegmentedBuffer.h:96:20: error: use of undeclared identifier 'mTasks' xpcom/io/nsSegmentedBuffer.h:104:24: error: use of undeclared identifier 'nsTArray' xpcom/io/nsSegmentedBuffer.h:104:38: error: no member named 'function' in namespace 'std' xpcom/io/nsSegmentedBuffer.h:104:55: error: expected member name or ';' after declaration specifiers xpcom/io/nsSegmentedBuffer.h:104:57: error: private field 'mTasks' is not used [-Werror,-Wunused-private-field] xpcom/io/nsSegmentedBuffer.h:108:21: error: no template named 'function' in namespace 'std' xpcom/io/nsStorageStream.cpp:576:3: error: no template named 'DebugOnly' xpcom/io/nsStorageStream.cpp:576:3: error: no template named 'DebugOnly'; did you mean 'mozilla::DebugOnly'? Differential Revision: https://phabricator.services.mozilla.com/D127040
- Loading branch information