> You can add nsGlobalWindow.h to the list at > http://mxr.mozilla.org/mozilla-central/source/dom/base/moz.build#42 to > rectify this.
Thank you, this is fixed. However, the second problem still exists. Including nsGlobalWindow.h (only that, without any other modifications) causes the following errors and breaks the compilation: ----------------------------------------------------------------------- 5:43.34 In file included from ../../../../dist/include/nsGlobalWindow.h:44:0, 5:43.34 from /home/tomasz/CPPProjects/mozilla-central/obj-x86_64-unknown-linux-gnu/dom/bindings/PeerConnectionImplEnumsBinding.cpp:5, 5:43.34 from /home/tomasz/CPPProjects/mozilla-central/media/webrtc/signaling/test/signaling_unittests.cpp:45: 5:43.34 ../../../../dist/include/nsFrameMessageManager.h: At global scope: 5:43.34 ../../../../dist/include/nsFrameMessageManager.h:66:63: error: type/value mismatch at argument 1 in template parameter list for 'template<class E> class nsTArray' 5:43.34 InfallibleTArray<nsString>* aJSONRetVal, 5:43.34 ^ 5:43.34 ../../../../dist/include/nsFrameMessageManager.h:66:63: error: expected a type, got 'nsString_external' 5:43.34 ../../../../dist/include/nsFrameMessageManager.h:233:52: error: type/value mismatch at argument 1 in template parameter list for 'template<class E> class nsTArray' 5:43.34 InfallibleTArray<nsString>* aJSONRetVal); 5:43.34 ^ 5:43.34 ../../../../dist/include/nsFrameMessageManager.h:233:52: error: expected a type, got 'nsString_external' 5:43.34 ../../../../dist/include/nsFrameMessageManager.h:305:20: error: type/value mismatch at argument 1 in template parameter list for 'template<class E> class nsTArray' 5:43.34 nsTArray<nsString> mPendingScripts; 5:43.34 ^ 5:43.34 ../../../../dist/include/nsFrameMessageManager.h:305:20: error: expected a type, got 'nsString_external' 5:43.35 In file included from ../../../../dist/include/nsStringGlue.h:21:0, 5:43.35 from ../../../../dist/include/mozilla/ErrorResult.h:18, 5:43.35 from ../../../../dist/include/mozilla/dom/PeerConnectionObserverEnumsBinding.h:8, 5:43.35 from /home/tomasz/CPPProjects/mozilla-central/media/webrtc/signaling/test/FakePCObserver.h:21, 5:43.35 from /home/tomasz/CPPProjects/mozilla-central/media/webrtc/signaling/test/signaling_unittests.cpp:23: 5:43.35 ../../../../dist/include/nsStringAPI.h:906:40: error: 'nsString_external' does not name a type 5:43.35 #define nsString nsString_external 5:43.35 ^ 5:43.35 ../../../../dist/include/nsFrameMessageManager.h:358:3: note: in expansion of macro 'nsString' 5:43.35 nsString mMessage; ----------------------------------------------------------------------- Best regards, Tomasz _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform