Re: [PATCH] meson: avoid unused arguments of main() in compiler tests

2022-11-03 Thread Richard Henderson
On 11/4/22 04:21, Paolo Bonzini wrote: meson.build has one test where "main" is declared unnecessarily with argc and argv arguments, but does not use them. Because the test needs -Werror too, HAVE_BROKEN_SIZE_MAX is defined incorrectly. Fix the test and, for consistency, remove argc and argv

Re: [PATCH] meson: avoid unused arguments of main() in compiler tests

2022-11-03 Thread Stefan Weil via
Am 03.11.22 um 18:21 schrieb Paolo Bonzini: meson.build has one test where "main" is declared unnecessarily with argc and argv arguments, but does not use them. Because the test needs -Werror too, HAVE_BROKEN_SIZE_MAX is defined incorrectly. Fix the test and, for consistency, remove argc and

[PATCH] meson: avoid unused arguments of main() in compiler tests

2022-11-03 Thread Paolo Bonzini
meson.build has one test where "main" is declared unnecessarily with argc and argv arguments, but does not use them. Because the test needs -Werror too, HAVE_BROKEN_SIZE_MAX is defined incorrectly. Fix the test and, for consistency, remove argc and argv whenever they are not needed.