diff options
author | Toon Schoenmakers <toon.schoenmakers@copernica.com> | 2015-09-25 11:26:03 +0200 |
---|---|---|
committer | Toon Schoenmakers <toon.schoenmakers@copernica.com> | 2015-09-25 11:26:03 +0200 |
commit | 8ae9897883d9a93751b9f700ad7e89cc4353341b (patch) | |
tree | 94f990374fcecfb2e3f062f278fa8ab9197ef3a7 | |
parent | d745768edff718c8483dc1e3613e34800e93559f (diff) |
Silence the write-strings warning
Literal strings in C are const char* of course, some methods within zend
expect something hardcoded but accept a normal char*.. Meaning zend is broken
when it comes to const correctness. Seeing how they're calling these kind of
methods themselves with hardcoded values I'll assume it doesn't get modified
meaning the silenced code is fine. Still though, zend should accept const char*
instead of char* in such locations..
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -106,7 +106,7 @@ endif # you want to leave that flag out on production servers). # -COMPILER_FLAGS = -Wall -c -std=c++11 -fvisibility=hidden -DBUILDING_PHPCPP +COMPILER_FLAGS = -Wall -c -std=c++11 -fvisibility=hidden -DBUILDING_PHPCPP -Wno-write-strings SHARED_COMPILER_FLAGS = -fpic STATIC_COMPILER_FLAGS = PHP_COMPILER_FLAGS = ${COMPILER_FLAGS} `${PHP_CONFIG} --includes` |