On Sat, 21 May 2022 11:46:29 +0200, Mauro Carvalho Chehab wrote: [...] > > Sphinx 4.0 and above: it is now possible to add a namespace. This allows > fixing things like read() system calls that have different meanings on > different subsystems. > > On other words, only with Sphinx 4.0 and above, the cross-references > for C domain symbols should all be OK. So, I noticed there is a PR at https://github.com/sphinx-doc/sphinx/pull/8313 which is still open. This PR is supposed to resolve "WARNING: Duplicate C declaration" due to struct and function with the same name, isn't it? Are you sure the issue is resolved in Sphinx 4.0 and later? Thanks, Akira