Is Samba's compile_commands.json useful?

Martin Schwenke martin at
Thu Sep 9 07:09:16 UTC 2021

On Thu, 9 Sep 2021 06:49:52 +0200, Ralph Boehme <slow at> wrote:

> Am 09.09.21 um 04:25 schrieb Martin Schwenke via samba-technical:
> > What am I missing?  
> I also noticed this a few days ago when using lsp im emacs as well.
> It seems it's a regression introduced by 
> 5d53b848f60efbb71e4cd2f51f33a06369ca9055. If I revert this change I get 
> a working compile database.
> Looking...


That was one of the commits I took a brief look at while trying to
understand the problem myself.  I didn't try reverting it.  I also
didn't notice the new call to:


in buildtools/wafsamba/ the first time around.

Duplicating that from
third_party/waf/waflib/extras/ looks like
it should do some deep magic... but it seems like it isn't quite working
as expected.  Deep magic always deserves a comment to explain some
subset of what, why and how... :-D

peace & happiness,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <>

More information about the samba-technical mailing list