Skip to content

Commit 44775b7

Browse files
authored
Fix GH-13727: Building with -Werror=strict-prototypes (#14029)
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 f8b9030 commit 44775b7

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

NEWS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ PHP NEWS
1414
. Fixed bug GH-14013 (Erroneous dnl appended in configure). (Peter Kokot)
1515
. Fixed bug GH-10232 (If autoloading occurs during constant resolution
1616
filename and lineno are identified incorrectly). (ranvis)
17+
. Fixed bug GH-13727 (Missing void keyword). (Peter Kokot)
1718

1819
- Fibers:
1920
. Fixed bug GH-13903 (ASAN false positive underflow when executing copy()).

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)