Closed mhf-ir closed 6 years ago
i will fix it
please try current master version, show me the build error. in my build env, can not repeat your problem
Seems be fixes but still one warning remaining: Master branch test:
-I/tmp/Molten -I/tmp/Molten/common -DHAVE_CONFIG_H -g -O2 -c /tmp/Molten/common/molten_lock.c -o common/molten_lock.lo
libtool: compile: cc -I. -I/tmp/Molten -DPHP_ATOM_INC -I/tmp/Molten/include -I/tmp/Molten/main -I/tmp/Molten -I/usr/include/php/20160303 -I/usr/include/php/20160303/main -I/usr/include/php/20160303/TSRM -I/usr/include/php/20160303/Zend -I/usr/include/php/20160303/ext -I/usr/include/php/20160303/ext/date/lib -I/tmp/Molten -I/tmp/Molten/common -DHAVE_CONFIG_H -g -O2 -c /tmp/Molten/common/molten_lock.c -fPIC -DPIC -o common/.libs/molten_lock.o
/bin/bash /tmp/Molten/libtool --mode=compile cc -I. -I/tmp/Molten -DPHP_ATOM_INC -I/tmp/Molten/include -I/tmp/Molten/main -I/tmp/Molten -I/usr/include/php/20160303 -I/usr/include/php/20160303/main -I/usr/include/php/20160303/TSRM -I/usr/include/php/20160303/Zend -I/usr/include/php/20160303/ext -I/usr/include/php/20160303/ext/date/lib -I/tmp/Molten -I/tmp/Molten/common -DHAVE_CONFIG_H -g -O2 -c /tmp/Molten/common/molten_slog.c -o common/molten_slog.lo
libtool: compile: cc -I. -I/tmp/Molten -DPHP_ATOM_INC -I/tmp/Molten/include -I/tmp/Molten/main -I/tmp/Molten -I/usr/include/php/20160303 -I/usr/include/php/20160303/main -I/usr/include/php/20160303/TSRM -I/usr/include/php/20160303/Zend -I/usr/include/php/20160303/ext -I/usr/include/php/20160303/ext/date/lib -I/tmp/Molten -I/tmp/Molten/common -DHAVE_CONFIG_H -g -O2 -c /tmp/Molten/common/molten_slog.c -fPIC -DPIC -o common/.libs/molten_slog.o
/tmp/Molten/common/molten_slog.c: In function 'slog_record':
/tmp/Molten/common/molten_slog.c:61:25: warning: format not a string literal and no format arguments [-Wformat-security]
fprintf(slg.fp, log_buf);
^
/tmp/Molten/common/molten_slog.c:63:25: warning: format not a string literal and no format arguments [-Wformat-security]
fprintf(stdout, log_buf);
^
/bin/bash /tmp/Molten/libtool --mode=compile cc -I. -I/tmp/Molten -DPHP_ATOM_INC -I/tmp/Molten/include -I/tmp/Molten/main -I/tmp/Molten -I/usr/include/php/20160303 -I/usr/include/php/20160303/main -I/usr/include/php/20160303/TSRM -I/usr/include/php/20160303/Zend -I/usr/include/php/20160303/ext -I/usr/include/php/20160303/ext/date/lib -I/tmp/Molten -I/tmp/Molten/common -DHAVE_CONFIG_H -g -O2 -c /tmp/Molten/molten_util.c -o molten_util.lo
libtool: compile: cc -I. -I/tmp/Molten -DPHP_ATOM_INC -I/tmp/Molten/include -I/tmp/Molten/main -I/tmp/Molten -I/usr/include/php/20160303 -I/usr/include/php/20160303/main -I/usr/include/php/20160303/TSRM -I/usr/include/php/20160303/Zend -I/usr/include/php/20160303/ext -I/usr/include/php/20160303/ext/date/lib -I/tmp/Molten -I/tmp/Molten/common -DHAVE_CONFIG_H -g -O2 -c /tmp/Molten/molten_util.c -fPIC -DPIC -o .libs/molten_util.o
Those errors for pecl stable tar.gz version.
already fix on master branch
Php 7.1 ubuntu