From: <sv...@op...> - 2025-07-17 05:58:36
|
Author: manx Date: Thu Jul 17 07:58:29 2025 New Revision: 23775 URL: https://source.openmpt.org/browse/openmpt/?op=revision&rev=23775 Log: [Fix] build: Make headercheck.c compatible with modern compilers. Modified: trunk/OpenMPT/build/auto/dist.sh Modified: trunk/OpenMPT/build/auto/dist.sh ============================================================================== --- trunk/OpenMPT/build/auto/dist.sh Wed Jul 16 22:02:54 2025 (r23774) +++ trunk/OpenMPT/build/auto/dist.sh Thu Jul 17 07:58:29 2025 (r23775) @@ -25,7 +25,7 @@ echo '#include <stddef.h>' > bin/empty.c echo '' > bin/headercheck.c echo '#include "libopenmpt/libopenmpt.h"' >> bin/headercheck.c -echo 'int main() { return 0; }' >> bin/headercheck.c +echo 'int main(void) { return 0; }' >> bin/headercheck.c echo " cc" cc -Wall -Wextra -Wpedantic -Werror -I. bin/headercheck.c -o bin/headercheck.cc.out echo " cc 89" |