projects
/
m6w6
/
ext-http
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
| inline |
side by side
(parent:
a781e11
)
fix build with GCC-4
author
Michael Wallner
<mike@php.net>
Wed, 5 Oct 2016 11:15:28 +0000
(13:15 +0200)
committer
Michael Wallner
<mike@php.net>
Wed, 5 Oct 2016 11:15:28 +0000
(13:15 +0200)
closes #54
src/php_http_url.c
patch
|
blob
|
history
diff --git
a/src/php_http_url.c
b/src/php_http_url.c
index 4d7629574993e365a6f1bead6cd4004701825103..5e8592ed8c7c0ae28adb95c19ba068ed172e40b2 100644
(file)
--- a/
src/php_http_url.c
+++ b/
src/php_http_url.c
@@
-1003,11
+1003,11
@@
static ZEND_RESULT_CODE parse_uidn_2003(struct parse_state *state)
goto error;
}
-# if __GNUC__
+# if __GNUC__
>= 5
# pragma GCC diagnostic ignored "-Wdeprecated-declarations"
# endif
ahost_len = uidna_IDNToASCII(uhost_str, uhost_len, ahost_str, 256, 3, NULL, &rc);
-# if __GNUC__
+# if __GNUC__
>= 5
# pragma GCC diagnostic pop
# endif