We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ed2da63 commit 150df3fCopy full SHA for 150df3f
ext/gd/config.m4
@@ -138,7 +138,8 @@ dnl
138
if test "$PHP_GD" != "no"; then
139
140
if test "$PHP_EXTERNAL_GD" = "no"; then
141
- GD_CFLAGS=""
+ dnl Disable strict prototypes as GD takes advantages of variadic function signatures for function pointers.
142
+ GD_CFLAGS="-Wno-strict-prototypes"
143
extra_sources="libgd/gd.c libgd/gd_gd.c libgd/gd_gd2.c libgd/gd_io.c libgd/gd_io_dp.c \
144
libgd/gd_io_file.c libgd/gd_ss.c libgd/gd_io_ss.c libgd/gd_webp.c \
145
libgd/gd_png.c libgd/gd_jpeg.c libgd/gdxpm.c libgd/gdfontt.c libgd/gdfonts.c \
0 commit comments