Page MenuHomeFreeBSD

Fix -Wundef warnings when building liblua
ClosedPublic

Authored by arichardson on Aug 6 2020, 5:54 PM.
Tags
None
Referenced Files
F146403291: D25977.diff
Mon, Mar 2, 10:30 AM
Unknown Object (File)
Sun, Feb 8, 3:28 PM
Unknown Object (File)
Sat, Feb 7, 6:17 PM
Unknown Object (File)
Jan 31 2026, 10:37 AM
Unknown Object (File)
Dec 13 2025, 4:53 PM
Unknown Object (File)
Dec 4 2025, 9:01 PM
Unknown Object (File)
Dec 4 2025, 12:05 AM
Unknown Object (File)
Nov 27 2025, 4:52 PM
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.