Fix some gcc-4.9 compatibility issues
commit02a29e1d3933bd17e49a455f9cccfd88e9fff54b
authormwilliams <mwilliams@fb.com>
Sat, 9 May 2015 18:50:52 +0000 (9 11:50 -0700)
committerhhvm-bot <hhvm-bot@fb.com>
Mon, 11 May 2015 15:30:44 +0000 (11 08:30 -0700)
treeb4db80a2dd3665ab709d1d10e6a2f4edc70e9e53
parent9890ff563a1af7029c8177fd9bacd35078868a29
Fix some gcc-4.9 compatibility issues

Summary: Update some library requirements, and fix a few
stricter checks in the code.

With this, hhvm compiles, but fails to link due to some iconv
issues, which I didn't try to resolve.

Also,

  fbconfig --platform-all=gcc-4.9-glibc-2.20-fb hphp/hhvm

works, but -r hphp fails, because some ocaml libs that hack
depends on are not up to date, and trying to fix them turned
into the usual rats nest. I'll take a look at those separately.

Reviewed By: @jdelong

Differential Revision: D2059660
hphp/runtime/base/datetime.cpp
hphp/runtime/ext/curl/ext_curl.cpp
hphp/runtime/ext/ext_hotprofiler.cpp
hphp/runtime/vm/debug/debug.cpp
hphp/runtime/vm/jit/refcount-opts.cpp
hphp/runtime/vm/jit/srcdb.cpp
hphp/runtime/vm/jit/translator.cpp
hphp/runtime/vm/jit/vasm-copy.cpp
hphp/util/portability.h
hphp/util/stack-trace.cpp