Re: [webkit-dev] Generating compile_commands.json when building WebKit on MacOS

2020-07-27 Thread Carlos Alberto Lopez Perez
On 25/07/2020 20:16, shriva...@firemail.cc wrote: >> Perhaps you can try to use the WebKitGTK port for Linux ? > You mean that I should try to build WebKitGTK port for Linux on macOS or > simply move to Linux? In theory it is possible to build the WebKitGTK port on MacOS, but in practice i don't t

Re: [webkit-dev] Generating compile_commands.json when building WebKit on MacOS

2020-07-25 Thread shrivatsa
Perhaps you can try to use the WebKitGTK port for Linux ? You mean that I should try to build WebKitGTK port for Linux on macOS or simply move to Linux? ___ webkit-dev mailing list webkit-dev@lists.webkit.org https://lists.webkit.org/mailman/listinfo/w

Re: [webkit-dev] Generating compile_commands.json when building WebKit on MacOS

2020-07-22 Thread Adrian Perez de Castro
Hello, On Wed, 22 Jul 2020 14:42:07 +0100, Philippe Normand wrote: > On Wed, 2020-07-22 at 08:24 -0500, Michael Catanzaro wrote: > > On Wed, Jul 22, 2020 at 11:15 am, shriva...@firemail.cc wrote: > > > DerivedSources/ForwardingHeaders/JavaScriptCore/JSContext.h:40:1: > > > error: duplicate inter

Re: [webkit-dev] Generating compile_commands.json when building WebKit on MacOS

2020-07-22 Thread Philippe Normand
On Wed, 2020-07-22 at 08:24 -0500, Michael Catanzaro wrote: > On Wed, Jul 22, 2020 at 11:15 am, shriva...@firemail.cc wrote: > > DerivedSources/ForwardingHeaders/JavaScriptCore/JSContext.h:40:1: > > error: duplicate interface definition for class 'JSContext' > > @interface JSContext : NSObject > >

Re: [webkit-dev] Generating compile_commands.json when building WebKit on MacOS

2020-07-22 Thread Michael Catanzaro
On Wed, Jul 22, 2020 at 11:15 am, shriva...@firemail.cc wrote: DerivedSources/ForwardingHeaders/JavaScriptCore/JSContext.h:40:1: error: duplicate interface definition for class 'JSContext' @interface JSContext : NSObject ^ ../../Source/JavaScriptCore/API/JSContext.h:40:12: note: previous defini

Re: [webkit-dev] Generating compile_commands.json when building WebKit on MacOS

2020-07-22 Thread Carlos Alberto Lopez Perez
On 22/07/2020 10:15, shriva...@firemail.cc wrote: > > Your assistance would be much appreciated. Perhaps you can try to use the WebKitGTK port for Linux ? CMake support for it is actively maintained and should work without any issue. Check: https://trac.webkit.org/wiki/BuildingGtk signature.as

Re: [webkit-dev] Generating compile_commands.json when building WebKit on MacOS

2020-07-22 Thread shrivatsa
I was able to get the compilation process starting with some changed (patch attached), but now I am facing some errors that I don't know how to tackle, e.g.: [1218/5220] Building CXX object Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/__/__/DerivedSources/JavaScriptCore/unified-sources/

Re: [webkit-dev] Generating compile_commands.json when building WebKit on MacOS

2020-07-20 Thread Konstantin Tokarev
20.07.2020, 13:13, "shriva...@firemail.cc" : > Hi webkit-dev, > > I'm trying to study the structure of web browsers in general and WebKit > specifically for academic purposes. I found that using language servers > that index compile_commands.json (clangd, ccls etc.) is a very good > solution to n

[webkit-dev] Generating compile_commands.json when building WebKit on MacOS

2020-07-20 Thread shrivatsa
Hi webkit-dev, I'm trying to study the structure of web browsers in general and WebKit specifically for academic purposes. I found that using language servers that index compile_commands.json (clangd, ccls etc.) is a very good solution to navigate source code of extremely large projects, such