Re: A weird bug with luaL_Reg array
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: A weird bug with luaL_Reg array
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Fri, 1 Jul 2022 08:09:20 -0300
> For me it looks like a bug in compiler and/or linker.
> But that said I'd be happy to be proved wrong.
Multiple definitions of a global variable are undefined behavior in C.
I'm surprised that you don't get link errors. I do in macOS.