Project

General

Profile

Actions

Bug #2133

closed

toluabind.c compile failure because of nullptr

Added by Marko Lindqvist 17 days ago. Updated 8 days ago.

Status:
Closed
Priority:
Normal
Category:
General
Target version:
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


Related issues 1 (0 open1 closed)

Blocked by Bug #2122: reproducible builds (lua)ClosedMarko Lindqvist08/06/2026

Actions
Actions #1

Updated by Marko Lindqvist 17 days ago

  • Blocked by Bug #2122: reproducible builds (lua) added
Actions #2

Updated by Marko Lindqvist 17 days ago

Actions #4

Updated by Marko Lindqvist 8 days ago

  • Status changed from In Review to Closed
Actions

Also available in: Atom PDF