Intel® C++ Compiler
Community support and assistance for creating C++ code that runs on platforms based on Intel® processors.
7956 Discussions

error: template instantiati on resulted in unexpected function type of "char (&(char (*)[1]))[1]"

Folin_J_
Beginner
333 Views

when I compile firefox using lastest Intel C++ Compiler, I get such errors. (following https://code.google.com/p/pcxfirefox/wiki/MozillaBuiltICC?wl=en) . VS2012 works fine.

../../dist/include/mozilla/dom/BindingUtils.h(1664): error: template instantiati
on resulted in unexpected function type of "char (&(char (*)[1]))[1]" (the meani
ng of a name may have changed since the template declaration -- the type of the
template is "char (&(char (*)

  • ))[1]")
      HAS_MEMBER(JSBindingFinalized)
      ^
              detected during:
    compilation aborted for d:/develop/mozilla/ICC/obj-vca/dom/bindings/AnalyserNode
    Binding.cpp (code 2)
                instantiation of "mozilla::dom::HasJSBindingFinalizedMember<T>::Chec
    k [with T=mozilla::dom::AnalyserNode]" based on template argument <mozilla::dom:
    :AnalyserNode> at line 1664
                instantiation of class "mozilla::dom::HasJSBindingFinalizedMember<T>
     [with T=mozilla::dom::AnalyserNode]" at line 1666
                processing of template argument list for "mozilla::dom::JSBindingFin
    alized" based on template argument <mozilla::dom::AnalyserNode> at line 453 of "
    d:/develop/mozilla/ICC/obj-vca/dom/bindings/AnalyserNodeBinding.cpp"

  • 0 Kudos
    0 Replies
    Reply