This is first patchset which fixes some portability issues (gets rid of some gcc-isms) and also fixes some bugs in small_vector. More to follow :)
Get rid of some gcc-ism's in Portability.h - handle at least clang.
It will be better to turn this into configure check, though
Make sure proper tag is used for small_vector's forward decl - it's c…
…lass, not struct
std::out_of_range ctor accepts char* or std::string argument. Provide…
… the message.
Make sure there is no signed int overflow - use proper type for index
Make sure the op does not change the sign of the operand
@asl Before we can accept your changes, you'll have to sign the Facebook Contributor License Agreement: https://developers.facebook.com/opensource/cla
Sorry for the delay asl. I'm merging these into our local repo now (a couple of them have been fixed already). They'll be back out in the next public push.