]> granicus.if.org Git - php/commit
Fix undefined symbol error when compiling with LLVM
authorStanislav Malyshev <stas@php.net>
Sat, 17 Oct 2015 00:23:18 +0000 (17:23 -0700)
committerStanislav Malyshev <stas@php.net>
Sat, 17 Oct 2015 00:23:18 +0000 (17:23 -0700)
commitaf68b3ad5f553fe80adaa20fea7358e68ce34359
treea57f97c7086bb2286aec6dcb49bfaac3e59203fe
parent40038d7c5c2322d0d938807d7d4c6d7d001f04f4
Fix undefined symbol error when compiling with LLVM

Basically, LLVM in default mode treats inline in a way incompatible
with GCC in c89 mode, which leads to undefined symbol errors.
See more here: http://stackoverflow.com/questions/12844729/linking-error-for-inline-functions
ext/hash/hash_sha3.c