http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60347

            Bug ID: 60347
           Summary: [4.9 Regression] r208152 breaks Firefox build
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: trippels at gcc dot gnu.org
                CC: jason at gcc dot gnu.org

markus@x4 html % g++ -c -w -march=amdfam10 -std=gnu++0x -O2
Unified_cpp_parser_html1.ii
In file included from ../../dist/include/nsHashKeys.h:12:0,
                 from
/var/tmp/mozilla-central/parser/html/nsHtml5AtomTable.h:8,
                 from
/var/tmp/mozilla-central/parser/html/nsHtml5AttributeName.h:32,
                 from
/var/tmp/mozilla-central/parser/html/nsHtml5ReleasableAttributeName.h:8,
                 from
/var/tmp/mozilla-central/parser/html/nsHtml5ReleasableAttributeName.cpp:5,
                 from
/var/tmp/moz-build-dir/parser/html/Unified_cpp_parser_html1.cpp:2:
../../dist/include/nsAutoPtr.h: In instantiation of ‘nsRefPtr<T>::~nsRefPtr()
[with T = mozilla::dom::ShadowRoot]’:
/var/tmp/mozilla-central/parser/html/../../content/base/src/nsGenericDOMDataNode.h:247:9:
  required from here
../../dist/include/nsAutoPtr.h:900:13: error: invalid use of incomplete type
‘class mozilla::dom::ShadowRoot’
             mRawPtr->Release();
             ^
In file included from
/var/tmp/mozilla-central/parser/html/nsHtml5AttributeName.h:35:0,
                 from
/var/tmp/mozilla-central/parser/html/nsHtml5ReleasableAttributeName.h:8,
                 from
/var/tmp/mozilla-central/parser/html/nsHtml5ReleasableAttributeName.cpp:5,
                 from
/var/tmp/moz-build-dir/parser/html/Unified_cpp_parser_html1.cpp:2:
../../dist/include/nsIContent.h:25:7: error: forward declaration of ‘class
mozilla::dom::ShadowRoot’
 class ShadowRoot;
       ^

Reply via email to