Page MenuHomeFreeBSD

Fix -Wundef warnings when building liblua
ClosedPublic

Authored by arichardson on Aug 6 2020, 5:54 PM.
Tags
None
Referenced Files
F132265764: D25977.diff
Wed, Oct 15, 8:05 AM
Unknown Object (File)
Sun, Oct 12, 3:25 PM
Unknown Object (File)
Tue, Oct 7, 8:10 PM
Unknown Object (File)
Tue, Sep 23, 12:04 AM
Unknown Object (File)
Sep 15 2025, 10:02 AM
Unknown Object (File)
Sep 10 2025, 5:46 AM
Unknown Object (File)
Aug 30 2025, 4:31 PM
Unknown Object (File)
Aug 18 2025, 10:23 AM
Subscribers
None

Details

Summary

We need to define the LUA_FLOAT_INT64 macro even if we don't use it (copied
from stand/luaconf.h). While touching luaconf.h.dist also sync it with the
the 5.3.5 release version (matches the one in lib/liblua).

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

arichardson created this revision.

It's interesting, the luaconf.h used in lualoader *does* have these two definitions, and somehow the luaconf.h I hacked up for flua ended up with one but not the other?

Odd, but LGTM.

This revision is now accepted and ready to land.Aug 25 2020, 12:29 PM
This revision was automatically updated to reflect the committed changes.