Skip to content

Commit db1b694

Browse files
committed
Fix GH-13727: Building with -Werror=strict-prototypes
This is addon to the GH-13727 bug fix. When configuring the build with: ./configure CFLAGS=-Werror=strict-prototypes libtool check for parsing nm command would fail: checking command to parse /usr/bin/nm -B output from cc object... failed Upstream libtool has this specific check already fixed. Note that this works only with Autoconf version 2.72 and later and is preparation for future compilers that might have this error enabled by default.
1 parent 7d3d8de commit db1b694

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build/libtool.m4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4636,7 +4636,7 @@ for ac_symprfx in "" "_"; do
46364636
extern "C" {
46374637
#endif
46384638
char nm_test_var;
4639-
void nm_test_func(){}
4639+
void nm_test_func(void){}
46404640
#ifdef __cplusplus
46414641
}
46424642
#endif

0 commit comments

Comments
 (0)