On Thu, Mar 7, 2024 at 1:27 PM Masahiko Sawada <sawada.m...@gmail.com> wrote: > > On Thu, Mar 7, 2024 at 3:20 PM John Naylor <johncnaylo...@gmail.com> wrote: > > > > On Thu, Mar 7, 2024 at 12:59 PM John Naylor <johncnaylo...@gmail.com> wrote:
> > > ... cause "error: redefinition of typedef 'rt_radix_tree' is a C11 > > > feature [-Werror,-Wtypedef-redefinition]" > > > > > > I'll look in the other templates to see if what they do. > > > > Their "declare" sections have full typedefs. I found it works to leave > > out the typedef for the "define" section, but I first want to > > reproduce the build failure. > > Right. I've reproduced this build failure on my machine by specifying > flags "-Wtypedef-redefinition -std=gnu99" to clang. Something the > below change seems to fix the problem: Confirmed, will push shortly.