summaryrefslogtreecommitdiffstats
path: root/bindings
diff options
context:
space:
mode:
authorBenjamin Dauvergne <bdauvergne@entrouvert.com>2011-10-18 17:33:43 +0200
committerBenjamin Dauvergne <bdauvergne@entrouvert.com>2011-10-18 17:33:43 +0200
commit4552f3029350cc4fd4d618a65e98d02ac4f312c0 (patch)
tree5bfb37fd856d05d8dcd73ce76592277e08d7a6e5 /bindings
parentb8cf183c3708bed29d6b6f6a0685e66dc5ab13e6 (diff)
downloadlasso-4552f3029350cc4fd4d618a65e98d02ac4f312c0.tar.gz
lasso-4552f3029350cc4fd4d618a65e98d02ac4f312c0.tar.xz
lasso-4552f3029350cc4fd4d618a65e98d02ac4f312c0.zip
[misc] apply changes to remove warning blocking compilation with gcc 4.5.2 and php 5.3.5
- gcc now warns when you compate a typedef to the anonymous enum which define it. - some inline function in the zend.h header do compare between signed and unsigned char.
Diffstat (limited to 'bindings')
-rw-r--r--bindings/php5/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/bindings/php5/Makefile.am b/bindings/php5/Makefile.am
index a1ee2209..e39ea4ae 100644
--- a/bindings/php5/Makefile.am
+++ b/bindings/php5/Makefile.am
@@ -17,7 +17,7 @@ php_configdir=@PHP5_CONFIG_DIR@
php_config_DATA = lasso.ini
lasso_la_CFLAGS = -fno-strict-aliasing $(LASSO_CORE_CFLAGS) -I$(top_srcdir) -I$(top_builddir) $(PHP5_INCLUDES) $(AM_CFLAGS)
-lasso_la_CFLAGS += -Wno-unused-parameter
+lasso_la_CFLAGS += -Wno-unused-parameter -Wno-sign-compare # problem in zend.h
lasso_la_LDFLAGS = -export-dynamic -prefer-pic -module -avoid-version
lasso_la_LIBADD = $(top_builddir)/lasso/liblasso.la $(LASSO_LIBS) $(PHP5_LDFLAGS)
nodist_lasso_la_SOURCES = _lasso.c