зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1073003 - Fix warnings in stlport causing errors in emulator build. r=bzbarsky
This commit is contained in:
Родитель
08557c5100
Коммит
cd8a210555
|
@ -1145,7 +1145,6 @@ basic_istream<_CharT, _Traits>::ignore(streamsize __n, int_type __delim) {
|
|||
|
||||
if (__sentry) {
|
||||
basic_streambuf<_CharT, _Traits>* __buf = this->rdbuf();
|
||||
typedef _STLP_PRIV _Constant_unary_fun<bool, int_type> _Const_bool;
|
||||
typedef _STLP_PRIV _Constant_binary_fun<streamsize, streamsize, streamsize>
|
||||
_Const_streamsize;
|
||||
const streamsize __maxss = (numeric_limits<streamsize>::max)();
|
||||
|
|
|
@ -148,7 +148,6 @@ template <class _Tp, class _Alloc, class _StrictWeakOrdering>
|
|||
void _Slist_merge(slist<_Tp, _Alloc>& __that, slist<_Tp, _Alloc>& __x,
|
||||
_StrictWeakOrdering __comp) {
|
||||
typedef _Slist_node<_Tp> _Node;
|
||||
typedef _STLP_PRIV _Slist_node_base _Node_base;
|
||||
if (__that.get_allocator() == __x.get_allocator()) {
|
||||
typename slist<_Tp, _Alloc>::iterator __ite(__that.before_begin());
|
||||
while (__ite._M_node->_M_next && !__x.empty()) {
|
||||
|
|
|
@ -308,7 +308,8 @@
|
|||
/* Some compiler support 0 size array so we use negative size array to generate
|
||||
* a compilation time error.
|
||||
*/
|
||||
# define _STLP_STATIC_ASSERT(expr) typedef char __static_assert[expr ? 1 : -1];
|
||||
//# define _STLP_STATIC_ASSERT(expr) typedef char __static_assert[expr ? 1 : -1];
|
||||
# define _STLP_STATIC_ASSERT(expr) static_assert(expr, "static_assert failed");
|
||||
#endif
|
||||
|
||||
/* apple mpw exception handling bug */
|
||||
|
|
Загрузка…
Ссылка в новой задаче