Fix x86_64 warnings (for callers using -Werror).

Change-Id: I366e171eb15c143aa15e9061c1ce02f59725b8ca
Fix warning caused by disabled asserts causing unused variables.

Fixed by changing the assert to a while(false) when asserts are disabled.

Change-Id: I675de6efc7f390ea810880f3192b45e2ad0b0f31
Revert "Fix warning caused by disabled asserts causing unused variables."

This reverts commit 44f615704b28a94ec61b5ab8237950966fd73fd6.
Make sure std::size_t is available before it is used

Make sure std::size_t is defined before using it in the is_array
template.
Its absence causes an error when building with clang.

Change-Id: If999af1bd8a83905fb4c5b6d67d2d811cfc50a73
Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
Fix 64 bit builds.

stlport doesn't expose localeconv and setlocale
anyway, so there really isn't much point in exporting
lconv either.

This is not a source compatible change, but it certainly
isn't the first such change we've made. Besides, lconv is
a dummy structure anyway and there's nothing useful to be
gained from it.

Change-Id: Ifeeb929fc43bfc7a7c522cae18b9916027f04b82
stlport: Fix boundary condition in stlport for __get_integer.

The __get_integer doesn't trigger -min for signed (int, long, long long)
as overflow.

Change-Id: Iba8f594fd7c2f404aa14367c9201b8b116cd36fc
Signed-off-by: Fengwei Yin <fengwei.yin@intel.com>
Fix __get_number for short.

Change-Id: I31d62728218937c669c464e0c1395369afb11518
stlport: deal with compile warnings

- In preparation for dependent projects to turn on
  -Werror and -Wunused

Change-Id: Ibf1b146d8d389e8747ba1ea1735cb55722b85971
stlport: c_locale_dummy unused argument warnings

Change-Id: Ib5e6736f83791c9795f9d4a5b5b8b201ed6327f6
stlport: if we can not throw, let us abort

Change-Id: I8b9ea8d48548bd879d03e605e200c0e7e7c73948
Fix sincosf -> sincosf recursion

(cherry picked from commit ff4a56e1f49d950e522066e67c64951748a01cb5)

Change-Id: Idbe25881ed66e26395126a80b55c6f4dbc1f0e29
Remove obsolete sincos from stlport

Change-Id: I12644a0e81d6dcf11d12530234678d178dbc4caf