On 2015-01-21 11:22 AM, Tomasz wrote:
What you need to do is to make sure that nsGlobalWindow.h is included in each generated binding file. The simplest way to do that is to add the linebindingHeaders["nsGlobalWindow.h"] = True where all the other such lines are (e.g. right after the line that sets bindingHeaders["xpcpublic.h"]).Thank you, I just made that, but other issues appear: ----------------------------------------------------------------------- 2:18.70 /home/tomasz/CPPProjects/mozilla-central/obj-x86_64-unknown-linux-gnu/dom/bindings/TestDictionaryBinding.cpp:11:28: fatal error: nsGlobalWindow.h: No such file or directory 2:18.70 #include "nsGlobalWindow.h" ----------------------------------------------------------------------- The problem is that nsGlobalWindow.h is not automatically copied to the build directory, so the compiler does not see it during the later stage of the compilation. When I specify the absolute path to the file
You can add nsGlobalWindow.h to the list at http://mxr.mozilla.org/mozilla-central/source/dom/base/moz.build#42 to rectify this.
Cheers, Josh _______________________________________________ dev-platform mailing list [email protected] https://lists.mozilla.org/listinfo/dev-platform

