rmottola / Arctic-Fox

Web Browser for Mac OS X 10.6+, Linux (PowerPC, x86, amd64, ARM, MIPS), NetBSD, OpenBSD, and Windows XP.
Other
290 stars 35 forks source link

Unable to build with xul disabled #144

Open donmor opened 1 year ago

donmor commented 1 year ago

I added --disable-xul to .mozconfig and it came with:

...
 1:58.67 In file included from ../../dist/include/nsRuleNode.h:20,
 1:58.67                  from ../../dist/include/nsStyleContext.h:13,
 1:58.67                  from ../../dist/include/mozilla/WritingModes.h:10,
 1:58.68                  from ../../ipc/ipdl/_ipdlheaders/mozilla/dom/PBrowserChild.h:21,
 1:58.68                  from ../../dist/include/mozilla/dom/TabChild.h:10,
 1:58.68                  from /home/donmor/Arctic-Fox/uriloader/prefetch/OfflineCacheUpdateChild.cpp:10,
 1:58.69                  from /home/donmor/Arctic-Fox/obj-loongarch64-unknown-linux-gnu/uriloader/prefetch/Unified_cpp_uriloader_prefetch0.cpp:2:
 1:58.69 ../../dist/include/nsStyleStruct.h: In static member function ‘static bool nsStyleDisplay::IsDisplayTypeInlineOutside(uint8_t)’:
 1:58.69 ../../dist/include/nsStyleStruct.h:2319:12: error: ‘NS_STYLE_DISPLAY_INLINE_XUL_GRID’ was not declared in this scope; did you mean ‘NS_STYLE_DISPLAY_INLINE_GRID’?
 1:58.71  2319 |            NS_STYLE_DISPLAY_INLINE_XUL_GRID == aDisplay ||
 1:58.71       |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 1:58.72       |            NS_STYLE_DISPLAY_INLINE_GRID
 1:58.72 ../../dist/include/nsStyleStruct.h:2320:12: error: ‘NS_STYLE_DISPLAY_INLINE_STACK’ was not declared in this scope; did you mean ‘NS_STYLE_DISPLAY_INLINE_BLOCK’?
 1:58.72  2320 |            NS_STYLE_DISPLAY_INLINE_STACK == aDisplay ||
 1:58.73       |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 1:58.73       |            NS_STYLE_DISPLAY_INLINE_BLOCK
 1:58.73 In file included from ../../dist/include/nsRuleNode.h:20,
 1:58.74                  from ../../dist/include/nsStyleContext.h:13,
 1:58.74                  from ../../dist/include/mozilla/WritingModes.h:10,
 1:58.75                  from ../../dist/include/mozilla/ContentCache.h:16,
 1:58.75                  from ../../dist/include/mozilla/dom/TabParent.h:11,
 1:58.75                  from /home/donmor/Arctic-Fox/dom/presentation/PresentationSessionInfo.cpp:9:
 1:58.75 ../../dist/include/nsStyleStruct.h: In static member function ‘stat
...
rmottola commented 11 months ago

why would you disable xul? It is not a configuration tested/supported currently.