Re: Ability to print the make database as json - experimental

2023-12-29 Thread Tim Murphy
On Fri, 29 Dec 2023 at 11:03, Gisle Vanem wrote: > > Got it and tried to build it. With clang-cl there is > this warning: >jprint.c(483,40): warning: omitting the parameter name in a function > definition is a >C2x extension [-Wc2x-extensions] > 483 | void

Re: Ability to print the make database as json - experimental

2023-12-29 Thread Gisle Vanem
Tim Murphy wrote: HOW TO GET IT: === in the feature/jprint branch on this fork: https://github.com/tnmurphy/gmake-experimental Got it and tried to build it. With clang-cl there is this warning: jprint.c(483,40): warning: omitting the parameter name in a function definition is a

Ability to print the make database as json - experimental

2023-12-28 Thread Tim Murphy
Hi I've often wanted to extract information from a large build in some way that's more reliable than grep. The GNU make (--print-data-base) option has been a very useful way to see what the complicated makefiles I was working on finally evaluated to. The only negative about it from my point of