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/