Closed Bug 1713071 Opened 6 months ago Closed 6 months ago

broken build in accessible/aom/AccessibleNode.cpp

Categories

(Firefox Build System :: General: Unsupported Platforms, defect)

Other
Linux
defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1710235

People

(Reporter: dan, Unassigned)

Details

When building recent trunk on Fedora 34 on s390x (with gcc 11) I get the following errors

...
 gmake[4]: Entering directory '/home/sharkcz/projects/firefox/obj-s390x-ibm-linux-gnu/accessible/aom'
accessible/aom/Unified_cpp_accessible_aom0.o
/usr/bin/g++ -o Unified_cpp_accessible_aom0.o -c  -I/home/sharkcz/projects/firefox/obj-s390x-ibm-linux-gnu/dist/stl_wrappers -I/home/sharkcz/projects/firefox/obj-s390x-ibm-linux-gnu/dist/system_wrappers -include /home/sharkcz/projects/firefox/config/gcc_hidden.h -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DNDEBUG=1 -DTRIMMED=1 -DOS_POSIX=1 -DOS_LINUX=1 -DMOZ_HAS_MOZGLUE -DMOZILLA_INTERNAL_API -DIMPL_LIBXUL -DSTATIC_EXPORTABLE_JS_API -I/home/sharkcz/projects/firefox/accessible/aom -I/home/sharkcz/projects/firefox/obj-s390x-ibm-linux-gnu/accessible/aom -I/home/sharkcz/projects/firefox/accessible/base -I/home/sharkcz/projects/firefox/accessible/generic -I/home/sharkcz/projects/firefox/accessible/atk -I/home/sharkcz/projects/firefox/obj-s390x-ibm-linux-gnu/ipc/ipdl/_ipdlheaders -I/home/sharkcz/projects/firefox/ipc/chromium/src -I/home/sharkcz/projects/firefox/ipc/glue -I/home/sharkcz/projects/firefox/obj-s390x-ibm-linux-gnu/dist/include -I/home/sharkcz/projects/firefox/obj-s390x-ibm-linux-gnu/dist/include/nspr -I/home/sharkcz/projects/firefox/obj-s390x-ibm-linux-gnu/dist/include/nss -DMOZILLA_CLIENT -include /home/sharkcz/projects/firefox/obj-s390x-ibm-linux-gnu/mozilla-config.h -Wall -Wempty-body -Wignored-qualifiers -Wpointer-arith -Wsign-compare -Wtype-limits -Wunreachable-code -Wwrite-strings -Wno-invalid-offsetof -Wc++2a-compat -Wduplicated-cond -Wimplicit-fallthrough -Wunused-function -Wunused-variable -Wno-error=maybe-uninitialized -Wno-error=deprecated-declarations -Wno-error=array-bounds -Wno-error=coverage-mismatch -Wno-error=free-nonheap-object -Wno-multistatement-macros -Wno-error=class-memaccess -Wno-error=deprecated-copy -Wformat -Wformat-overflow=2 -Wno-psabi -fno-sized-deallocation -fno-aligned-new -fno-exceptions -fno-strict-aliasing -fPIC -fno-rtti -fno-exceptions -fno-math-errno -pthread -pipe -g -freorder-blocks -O2 -fno-omit-frame-pointer -funwind-tables  -MD -MP -MF .deps/Unified_cpp_accessible_aom0.o.pp  -fdiagnostics-color  Unified_cpp_accessible_aom0.cpp
In file included from /home/sharkcz/projects/firefox/obj-s390x-ibm-linux-gnu/dist/include/nsBaseHashtable.h:22,
                 from /home/sharkcz/projects/firefox/obj-s390x-ibm-linux-gnu/dist/include/nsTHashMap.h:13,
                 from /home/sharkcz/projects/firefox/accessible/aom/AccessibleNode.h:10,
                 from /home/sharkcz/projects/firefox/accessible/aom/AccessibleNode.cpp:6,
                 from Unified_cpp_accessible_aom0.cpp:2:
/home/sharkcz/projects/firefox/obj-s390x-ibm-linux-gnu/dist/include/nsTHashtable.h: In instantiation of ‘EntryType* nsTHashtable<EntryType>::PutEntry(nsTHashtable<EntryType>::KeyType, const fallible_t&) [with EntryType = detail::VoidPtrHashKey; nsTHashtable<EntryType>::KeyType = const void*; nsTHashtable<EntryType>::fallible_t = std::nothrow_t]’:
/home/sharkcz/projects/firefox/obj-s390x-ibm-linux-gnu/dist/include/nsTHashtable.h:817:55:   required from ‘nsTHashtable<nsPtrHashKey<T> >::EntryType* nsTHashtable<nsPtrHashKey<T> >::PutEntry(T*, const fallible_t&) [with T = const void; nsTHashtable<nsPtrHashKey<T> >::EntryType = nsPtrHashKey<const void>; mozilla::fallible_t = std::nothrow_t]’
/home/sharkcz/projects/firefox/obj-s390x-ibm-linux-gnu/dist/include/mozilla/SizeOfState.h:32:32:   required from here
/home/sharkcz/projects/firefox/obj-s390x-ibm-linux-gnu/dist/include/nsTHashtable.h:317:27: error: no matching function for call to ‘nsTHashtable<detail::VoidPtrHashKey>::WithEntryHandle(const void*&, const fallible_t&, nsTHashtable<detail::VoidPtrHashKey>::PutEntry(nsTHashtable<detail::VoidPtrHashKey>::KeyType, const fallible_t&)::<lambda(auto:7)>)’
  317 |     return WithEntryHandle(aKey, aFallible, [](auto maybeEntryHandle) {
      |            ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  318 |       return maybeEntryHandle ? maybeEntryHandle->OrInsert() : nullptr;
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  319 |     });
      |     ~~
/home/sharkcz/projects/firefox/obj-s390x-ibm-linux-gnu/dist/include/nsTHashtable.h:432:8: note: candidate: ‘template<class F> std::invoke_result_t<F, nsTHashtable<EntryType>::EntryHandle&&> nsTHashtable<EntryType>::WithEntryHandle(nsTHashtable<EntryType>::KeyType, F&&) [with F = F; EntryType = detail::VoidPtrHashKey]’
  432 |   auto WithEntryHandle(KeyType aKey, F&& aFunc)
      |        ^~~~~~~~~~~~~~~
/home/sharkcz/projects/firefox/obj-s390x-ibm-linux-gnu/dist/include/nsTHashtable.h:432:8: note:   template argument deduction/substitution failed:
/home/sharkcz/projects/firefox/obj-s390x-ibm-linux-gnu/dist/include/nsTHashtable.h:317:27: note:   candidate expects 2 arguments, 3 provided
  317 |     return WithEntryHandle(aKey, aFallible, [](auto maybeEntryHandle) {
      |            ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  318 |       return maybeEntryHandle ? maybeEntryHandle->OrInsert() : nullptr;
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  319 |     });
      |     ~~
/home/sharkcz/projects/firefox/obj-s390x-ibm-linux-gnu/dist/include/nsTHashtable.h:443:8: note: candidate: ‘template<class F> std::invoke_result_t<F, mozilla::Maybe<nsTHashtable<EntryType>::EntryHandle>&&> nsTHashtable<EntryType>::WithEntryHandle(nsTHashtable<EntryType>::KeyType, const fallible_t&, F&&) [with F = F; EntryType = detail::VoidPtrHashKey]’
  443 |   auto WithEntryHandle(KeyType aKey, const mozilla::fallible_t& aFallible,
      |        ^~~~~~~~~~~~~~~
/home/sharkcz/projects/firefox/obj-s390x-ibm-linux-gnu/dist/include/nsTHashtable.h:443:8: note:   template argument deduction/substitution failed:
In file included from /home/sharkcz/projects/firefox/obj-s390x-ibm-linux-gnu/dist/system_wrappers/type_traits:3,
                 from /home/sharkcz/projects/firefox/obj-s390x-ibm-linux-gnu/dist/stl_wrappers/type_traits:60,
                 from /usr/include/c++/11/bits/move.h:57,
                 from /usr/include/c++/11/bits/stl_pair.h:59,
                 from /usr/include/c++/11/utility:70,
                 from /home/sharkcz/projects/firefox/obj-s390x-ibm-linux-gnu/dist/system_wrappers/utility:3,
                 from /home/sharkcz/projects/firefox/obj-s390x-ibm-linux-gnu/dist/stl_wrappers/utility:60,
                 from /home/sharkcz/projects/firefox/obj-s390x-ibm-linux-gnu/dist/include/mozilla/AlreadyAddRefed.h:12,
                 from /home/sharkcz/projects/firefox/obj-s390x-ibm-linux-gnu/dist/include/mozilla/RefPtr.h:10,
                 from /home/sharkcz/projects/firefox/obj-s390x-ibm-linux-gnu/dist/include/nsTHashMap.h:11,
                 from /home/sharkcz/projects/firefox/accessible/aom/AccessibleNode.h:10,
                 from /home/sharkcz/projects/firefox/accessible/aom/AccessibleNode.cpp:6,
                 from Unified_cpp_accessible_aom0.cpp:2:
/usr/include/c++/11/type_traits: In substitution of ‘template<class _Fn, class ... _Args> using invoke_result_t = typename std::invoke_result::type [with _Fn = nsTHashtable<detail::VoidPtrHashKey>::PutEntry(nsTHashtable<detail::VoidPtrHashKey>::KeyType, const fallible_t&)::<lambda(auto:7)>; _Args = {mozilla::Maybe<nsTHashtable<detail::VoidPtrHashKey>::EntryHandle>&&}]’:
/home/sharkcz/projects/firefox/obj-s390x-ibm-linux-gnu/dist/include/nsTHashtable.h:443:8:   required by substitution of ‘template<class F> std::invoke_result_t<F, mozilla::Maybe<nsTHashtable<detail::VoidPtrHashKey>::EntryHandle>&&> nsTHashtable<detail::VoidPtrHashKey>::WithEntryHandle<F>(nsTHashtable<detail::VoidPtrHashKey>::KeyType, const fallible_t&, F&&) [with F = nsTHashtable<detail::VoidPtrHashKey>::PutEntry(nsTHashtable<detail::VoidPtrHashKey>::KeyType, const fallible_t&)::<lambda(auto:7)>]’
/home/sharkcz/projects/firefox/obj-s390x-ibm-linux-gnu/dist/include/nsTHashtable.h:317:27:   required from ‘EntryType* nsTHashtable<EntryType>::PutEntry(nsTHashtable<EntryType>::KeyType, const fallible_t&) [with EntryType = detail::VoidPtrHashKey; nsTHashtable<EntryType>::KeyType = const void*; nsTHashtable<EntryType>::fallible_t = std::nothrow_t]’
/home/sharkcz/projects/firefox/obj-s390x-ibm-linux-gnu/dist/include/nsTHashtable.h:817:55:   required from ‘nsTHashtable<nsPtrHashKey<T> >::EntryType* nsTHashtable<nsPtrHashKey<T> >::PutEntry(T*, const fallible_t&) [with T = const void; nsTHashtable<nsPtrHashKey<T> >::EntryType = nsPtrHashKey<const void>; mozilla::fallible_t = std::nothrow_t]’
/home/sharkcz/projects/firefox/obj-s390x-ibm-linux-gnu/dist/include/mozilla/SizeOfState.h:32:32:   required from here
/usr/include/c++/11/type_traits:2933:11: error: no type named ‘type’ in ‘struct std::invoke_result<nsTHashtable<detail::VoidPtrHashKey>::PutEntry(nsTHashtable<detail::VoidPtrHashKey>::KeyType, const fallible_t&)::<lambda(auto:7)>, mozilla::Maybe<nsTHashtable<detail::VoidPtrHashKey>::EntryHandle>&&>’
 2933 |     using invoke_result_t = typename invoke_result<_Fn, _Args...>::type;
      |           ^~~~~~~~~~~~~~~
In file included from /home/sharkcz/projects/firefox/obj-s390x-ibm-linux-gnu/dist/include/nsBaseHashtable.h:22,
                 from /home/sharkcz/projects/firefox/obj-s390x-ibm-linux-gnu/dist/include/nsTHashMap.h:13,
                 from /home/sharkcz/projects/firefox/accessible/aom/AccessibleNode.h:10,
                 from /home/sharkcz/projects/firefox/accessible/aom/AccessibleNode.cpp:6,
                 from Unified_cpp_accessible_aom0.cpp:2:
/home/sharkcz/projects/firefox/obj-s390x-ibm-linux-gnu/dist/include/nsTHashtable.h: In instantiation of ‘EntryType* nsTHashtable<EntryType>::PutEntry(nsTHashtable<EntryType>::KeyType, const fallible_t&) [with EntryType = nsBaseHashtableET<nsUint32HashKey, RefPtr<mozilla::dom::AccessibleNode> >; nsTHashtable<EntryType>::KeyType = const unsigned int&; nsTHashtable<EntryType>::fallible_t = std::nothrow_t]’:
/home/sharkcz/projects/firefox/obj-s390x-ibm-linux-gnu/dist/include/nsRefCountedHashtable.h:191:54:   required from ‘bool nsRefCountedHashtable<KeyClass, PtrType>::InsertOrUpdate(nsRefCountedHashtable<KeyClass, PtrType>::KeyType, typename nsRefCountedHashtable<KeyClass, PtrType>::SmartPtrTraits::OtherSmartPtrType<U>&&, const fallible_t&) [with U = mozilla::dom::AccessibleNode; <template-parameter-2-2> = void; KeyClass = nsUint32HashKey; PtrType = RefPtr<mozilla::dom::AccessibleNode>; nsRefCountedHashtable<KeyClass, PtrType>::KeyType = const unsigned int&; typename nsRefCountedHashtable<KeyClass, PtrType>::SmartPtrTraits::OtherSmartPtrType<U> = RefPtr<mozilla::dom::AccessibleNode>; nsRefCountedHashtable<KeyClass, PtrType>::SmartPtrTraits = mozilla::detail::SmartPtrTraits<RefPtr<mozilla::dom::AccessibleNode> >; mozilla::fallible_t = std::nothrow_t]’
/home/sharkcz/projects/firefox/obj-s390x-ibm-linux-gnu/dist/include/nsRefCountedHashtable.h:180:22:   required from ‘void nsRefCountedHashtable<KeyClass, PtrType>::InsertOrUpdate(nsRefCountedHashtable<KeyClass, PtrType>::KeyType, typename nsRefCountedHashtable<KeyClass, PtrType>::SmartPtrTraits::OtherSmartPtrType<U>&&) [with U = mozilla::dom::AccessibleNode; <template-parameter-2-2> = void; KeyClass = nsUint32HashKey; PtrType = RefPtr<mozilla::dom::AccessibleNode>; nsRefCountedHashtable<KeyClass, PtrType>::KeyType = const unsigned int&; typename nsRefCountedHashtable<KeyClass, PtrType>::SmartPtrTraits::OtherSmartPtrType<U> = RefPtr<mozilla::dom::AccessibleNode>; nsRefCountedHashtable<KeyClass, PtrType>::SmartPtrTraits = mozilla::detail::SmartPtrTraits<RefPtr<mozilla::dom::AccessibleNode> >]’
/home/sharkcz/projects/firefox/accessible/aom/AccessibleNode.h:193:41:   required from here
/home/sharkcz/projects/firefox/obj-s390x-ibm-linux-gnu/dist/include/nsTHashtable.h:317:27: error: no matching function for call to ‘nsTHashtable<nsBaseHashtableET<nsUint32HashKey, RefPtr<mozilla::dom::AccessibleNode> > >::WithEntryHandle(const uint32_t&, const fallible_t&, nsTHashtable<nsBaseHashtableET<nsUint32HashKey, RefPtr<mozilla::dom::AccessibleNode> > >::PutEntry(nsTHashtable<nsBaseHashtableET<nsUint32HashKey, RefPtr<mozilla::dom::AccessibleNode> > >::KeyType, const fallible_t&)::<lambda(auto:7)>)’
  317 |     return WithEntryHandle(aKey, aFallible, [](auto maybeEntryHandle) {
      |            ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  318 |       return maybeEntryHandle ? maybeEntryHandle->OrInsert() : nullptr;
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  319 |     });
      |     ~~
/home/sharkcz/projects/firefox/obj-s390x-ibm-linux-gnu/dist/include/nsTHashtable.h:432:8: note: candidate: ‘template<class F> std::invoke_result_t<F, nsTHashtable<EntryType>::EntryHandle&&> nsTHashtable<EntryType>::WithEntryHandle(nsTHashtable<EntryType>::KeyType, F&&) [with F = F; EntryType = nsBaseHashtableET<nsUint32HashKey, RefPtr<mozilla::dom::AccessibleNode> >]’
  432 |   auto WithEntryHandle(KeyType aKey, F&& aFunc)
      |        ^~~~~~~~~~~~~~~
/home/sharkcz/projects/firefox/obj-s390x-ibm-linux-gnu/dist/include/nsTHashtable.h:432:8: note:   template argument deduction/substitution failed:
/home/sharkcz/projects/firefox/obj-s390x-ibm-linux-gnu/dist/include/nsTHashtable.h:317:27: note:   candidate expects 2 arguments, 3 provided
  317 |     return WithEntryHandle(aKey, aFallible, [](auto maybeEntryHandle) {
      |            ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  318 |       return maybeEntryHandle ? maybeEntryHandle->OrInsert() : nullptr;
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  319 |     });
      |     ~~
/home/sharkcz/projects/firefox/obj-s390x-ibm-linux-gnu/dist/include/nsTHashtable.h:443:8: note: candidate: ‘template<class F> std::invoke_result_t<F, mozilla::Maybe<nsTHashtable<EntryType>::EntryHandle>&&> nsTHashtable<EntryType>::WithEntryHandle(nsTHashtable<EntryType>::KeyType, const fallible_t&, F&&) [with F = F; EntryType = nsBaseHashtableET<nsUint32HashKey, RefPtr<mozilla::dom::AccessibleNode> >]’
  443 |   auto WithEntryHandle(KeyType aKey, const mozilla::fallible_t& aFallible,
      |        ^~~~~~~~~~~~~~~
/home/sharkcz/projects/firefox/obj-s390x-ibm-linux-gnu/dist/include/nsTHashtable.h:443:8: note:   template argument deduction/substitution failed:
In file included from /home/sharkcz/projects/firefox/obj-s390x-ibm-linux-gnu/dist/system_wrappers/type_traits:3,
                 from /home/sharkcz/projects/firefox/obj-s390x-ibm-linux-gnu/dist/stl_wrappers/type_traits:60,
                 from /usr/include/c++/11/bits/move.h:57,
                 from /usr/include/c++/11/bits/stl_pair.h:59,
                 from /usr/include/c++/11/utility:70,
                 from /home/sharkcz/projects/firefox/obj-s390x-ibm-linux-gnu/dist/system_wrappers/utility:3,
                 from /home/sharkcz/projects/firefox/obj-s390x-ibm-linux-gnu/dist/stl_wrappers/utility:60,
                 from /home/sharkcz/projects/firefox/obj-s390x-ibm-linux-gnu/dist/include/mozilla/AlreadyAddRefed.h:12,
                 from /home/sharkcz/projects/firefox/obj-s390x-ibm-linux-gnu/dist/include/mozilla/RefPtr.h:10,
                 from /home/sharkcz/projects/firefox/obj-s390x-ibm-linux-gnu/dist/include/nsTHashMap.h:11,
                 from /home/sharkcz/projects/firefox/accessible/aom/AccessibleNode.h:10,
                 from /home/sharkcz/projects/firefox/accessible/aom/AccessibleNode.cpp:6,
                 from Unified_cpp_accessible_aom0.cpp:2:
/usr/include/c++/11/type_traits: In substitution of ‘template<class _Fn, class ... _Args> using invoke_result_t = typename std::invoke_result::type [with _Fn = nsTHashtable<nsBaseHashtableET<nsUint32HashKey, RefPtr<mozilla::dom::AccessibleNode> > >::PutEntry(nsTHashtable<nsBaseHashtableET<nsUint32HashKey, RefPtr<mozilla::dom::AccessibleNode> > >::KeyType, const fallible_t&)::<lambda(auto:7)>; _Args = {mozilla::Maybe<nsTHashtable<nsBaseHashtableET<nsUint32HashKey, RefPtr<mozilla::dom::AccessibleNode> > >::EntryHandle>&&}]’:
/home/sharkcz/projects/firefox/obj-s390x-ibm-linux-gnu/dist/include/nsTHashtable.h:443:8:   required by substitution of ‘template<class F> std::invoke_result_t<F, mozilla::Maybe<nsTHashtable<nsBaseHashtableET<nsUint32HashKey, RefPtr<mozilla::dom::AccessibleNode> > >::EntryHandle>&&> nsTHashtable<nsBaseHashtableET<nsUint32HashKey, RefPtr<mozilla::dom::AccessibleNode> > >::WithEntryHandle<F>(nsTHashtable<nsBaseHashtableET<nsUint32HashKey, RefPtr<mozilla::dom::AccessibleNode> > >::KeyType, const fallible_t&, F&&) [with F = nsTHashtable<nsBaseHashtableET<nsUint32HashKey, RefPtr<mozilla::dom::AccessibleNode> > >::PutEntry(nsTHashtable<nsBaseHashtableET<nsUint32HashKey, RefPtr<mozilla::dom::AccessibleNode> > >::KeyType, const fallible_t&)::<lambda(auto:7)>]’
/home/sharkcz/projects/firefox/obj-s390x-ibm-linux-gnu/dist/include/nsTHashtable.h:317:27:   required from ‘EntryType* nsTHashtable<EntryType>::PutEntry(nsTHashtable<EntryType>::KeyType, const fallible_t&) [with EntryType = nsBaseHashtableET<nsUint32HashKey, RefPtr<mozilla::dom::AccessibleNode> >; nsTHashtable<EntryType>::KeyType = const unsigned int&; nsTHashtable<EntryType>::fallible_t = std::nothrow_t]’
/home/sharkcz/projects/firefox/obj-s390x-ibm-linux-gnu/dist/include/nsRefCountedHashtable.h:191:54:   required from ‘bool nsRefCountedHashtable<KeyClass, PtrType>::InsertOrUpdate(nsRefCountedHashtable<KeyClass, PtrType>::KeyType, typename nsRefCountedHashtable<KeyClass, PtrType>::SmartPtrTraits::OtherSmartPtrType<U>&&, const fallible_t&) [with U = mozilla::dom::AccessibleNode; <template-parameter-2-2> = void; KeyClass = nsUint32HashKey; PtrType = RefPtr<mozilla::dom::AccessibleNode>; nsRefCountedHashtable<KeyClass, PtrType>::KeyType = const unsigned int&; typename nsRefCountedHashtable<KeyClass, PtrType>::SmartPtrTraits::OtherSmartPtrType<U> = RefPtr<mozilla::dom::AccessibleNode>; nsRefCountedHashtable<KeyClass, PtrType>::SmartPtrTraits = mozilla::detail::SmartPtrTraits<RefPtr<mozilla::dom::AccessibleNode> >; mozilla::fallible_t = std::nothrow_t]’
/home/sharkcz/projects/firefox/obj-s390x-ibm-linux-gnu/dist/include/nsRefCountedHashtable.h:180:22:   required from ‘void nsRefCountedHashtable<KeyClass, PtrType>::InsertOrUpdate(nsRefCountedHashtable<KeyClass, PtrType>::KeyType, typename nsRefCountedHashtable<KeyClass, PtrType>::SmartPtrTraits::OtherSmartPtrType<U>&&) [with U = mozilla::dom::AccessibleNode; <template-parameter-2-2> = void; KeyClass = nsUint32HashKey; PtrType = RefPtr<mozilla::dom::AccessibleNode>; nsRefCountedHashtable<KeyClass, PtrType>::KeyType = const unsigned int&; typename nsRefCountedHashtable<KeyClass, PtrType>::SmartPtrTraits::OtherSmartPtrType<U> = RefPtr<mozilla::dom::AccessibleNode>; nsRefCountedHashtable<KeyClass, PtrType>::SmartPtrTraits = mozilla::detail::SmartPtrTraits<RefPtr<mozilla::dom::AccessibleNode> >]’
/home/sharkcz/projects/firefox/accessible/aom/AccessibleNode.h:193:41:   required from here
/usr/include/c++/11/type_traits:2933:11: error: no type named ‘type’ in ‘struct std::invoke_result<nsTHashtable<nsBaseHashtableET<nsUint32HashKey, RefPtr<mozilla::dom::AccessibleNode> > >::PutEntry(nsTHashtable<nsBaseHashtableET<nsUint32HashKey, RefPtr<mozilla::dom::AccessibleNode> > >::KeyType, const fallible_t&)::<lambda(auto:7)>, mozilla::Maybe<nsTHashtable<nsBaseHashtableET<nsUint32HashKey, RefPtr<mozilla::dom::AccessibleNode> > >::EntryHandle>&&>’
 2933 |     using invoke_result_t = typename invoke_result<_Fn, _Args...>::type;
      |           ^~~~~~~~~~~~~~~
gmake[4]: *** [/home/sharkcz/projects/firefox/config/rules.mk:676: Unified_cpp_accessible_aom0.o] Error 1
gmake[4]: Leaving directory '/home/sharkcz/projects/firefox/obj-s390x-ibm-linux-gnu/accessible/aom'
gmake[3]: *** [/home/sharkcz/projects/firefox/config/recurse.mk:72: accessible/aom/target-objects] Error 2
gmake[3]: Leaving directory '/home/sharkcz/projects/firefox/obj-s390x-ibm-linux-gnu'
gmake[2]: *** [/home/sharkcz/projects/firefox/config/recurse.mk:34: compile] Error 2
gmake[2]: Leaving directory '/home/sharkcz/projects/firefox/obj-s390x-ibm-linux-gnu'
gmake[1]: *** [/home/sharkcz/projects/firefox/config/rules.mk:355: default] Error 2
gmake[1]: Leaving directory '/home/sharkcz/projects/firefox/obj-s390x-ibm-linux-gnu'
gmake: *** [client.mk:65: build] Error 2

Component: General → General: Unsupported Platforms
Product: Core → Firefox Build System
Status: NEW → RESOLVED
Closed: 6 months ago
Resolution: --- → DUPLICATE
Duplicate of bug: 1710235
You need to log in before you can comment on or make changes to this bug.