Actions
Bug #2133
closedtoluabind.c compile failure because of nullptr
Start date:
08/13/2026
Due date:
% Done:
0%
Estimated time:
Description
#1334 changed tolua generated code to use nullptr instead of NULL, but its own toluabind.c source file was not regenerated with the updated tolua. Now, after toluabind.c does get regenerated, it will cause compilation error with older compilers, as building that source does not include freeciv's headers setting up fallback nullptr.
The two options I see are to either make our copy of tolua freeciv -specific by making it depend on freeciv headers. or to partially(?) revert #1334.
Files
Updated by Marko Lindqvist 17 days ago
- Blocked by Bug #2122: reproducible builds (lua) added
Updated by Marko Lindqvist 17 days ago
- File 0049-tolua-Use-NULL-instead-of-nullptr-in-toluabind.c.patch 0049-tolua-Use-NULL-instead-of-nullptr-in-toluabind.c.patch added
- Status changed from New to In Review
- Assignee set to Marko Lindqvist
Updated by Marko Lindqvist 14 days ago
- File 0041-tolua-Use-NULL-instead-of-nullptr-in-toluabind.c.patch 0041-tolua-Use-NULL-instead-of-nullptr-in-toluabind.c.patch added
- Updates required by #2122 changes
Actions