Commit Graph

15 Commits

Author SHA1 Message Date
Jeff Muizelaar
7073b3bb09 Bug 1228641. Remove initializer_list from stl-headers
Including new before initializer_list seems to cause problems like:

c:\tools\vs2013\vc\include\xutility(1278) : error C2065: 'initializer_list' : undeclared identifier
c:\tools\vs2013\vc\include\xutility(1278) : error C2065: '_Ilist' : undeclared identifier
c:\tools\vs2013\vc\include\xutility(1281) : error C2433: 'rbegin' : 'inline' not permitted on data declarations
c:\tools\vs2013\vc\include\xutility(1281) : error C2365: 'std::rbegin' : redefinition; previous definition was 'function'
c:\tools\vs2013\vc\include\xutility(1281) : error C2998: 'std::reverse_iterator<const _Elem*> std::rbegin' : cannot be a template definition
c:\tools\vs2013\vc\include\xutility(1284) : error C2065: 'initializer_list' : undeclared identifier
c:\tools\vs2013\vc\include\xutility(1284) : error C2065: '_Ilist' : undeclared identifier
c:\tools\vs2013\vc\include\xutility(1287) : error C2433: 'rend' : 'inline' not permitted on data declarations
c:\tools\vs2013\vc\include\xutility(1287) : error C2365: 'std::rend' : redefinition; previous definition was 'function'
c:\tools\vs2013\vc\include\xutility(1287) : error C2998: 'std::reverse_iterator<const _Elem*> std::rend' : cannot be a template definition

initializer_list shouldn't very be doing any allocation or throwing exceptions so we should be fine.
2016-01-15 19:51:37 -05:00
Jeff Muizelaar
af079e4ea0 Bug 1228641. Add a polyfill of std::initializer_list. r=froydnj 2016-01-06 22:06:35 -05:00
Mike Hommey
9afb1b9f84 Bug 1189967 - Add cmath to the wrapped STL headers. r=nfroyd
Somehow, TimeStamp.cpp fails to build with MSVC 2015 without this.
2015-08-23 22:20:40 +09:00
Jan Beich
648a19c3e7 Bug 918177 - Make sure <iosfwd> symbols are visible with gtest. r=glandium 2013-09-20 10:27:28 -04:00
Jan Beich
086b5462ff Bug 893508 - Don't hide ios/ostream symbols to fix build with some C++ runtimes. r=glandium 2013-07-16 14:09:24 +02:00
Vladimir Vukicevic
8a60cf2f50 b=873893, MSVC 2012 builds broken with msvc_raise_wrappers.h weird error; r=glandium 2013-05-20 04:56:10 -04:00
Rafael Ávila de Espíndola
a0b16c3694 Bug 773768 - STL: Add another stl file to the "FIXME" list. 2012-07-16 17:03:25 -04:00
Jonathan Kew
4c267519b3 bug 631479 (part 2) - compile graphite2 as part of the gfx build. r=jdaggett,khuey 2011-12-09 22:32:29 +00:00
Jonathan Kew
5a24d0498e bug 527276 - part 2 - add OTS lib to the build process. r=ted a=blocking2.0 2010-10-07 08:59:18 +01:00
bsmedberg@mozilla.com
a3aff16bd7 Add <map> to the stl-headers list to make gfx/angle build on some of our Windows boxes, r=cjones on IRC 2010-07-15 14:00:37 -07:00
Chris Jones
6b359a22c7 Bug 560723: Interpose non-throwing mozilla variants of VC10 STL functions that throw exceptions. r=ehsan sr=bsmedberg
--HG--
rename : memory/mozalloc/throw_msvc.cpp => memory/mozalloc/msvc_throw_wrapper.cpp
2010-04-28 19:38:41 -05:00
Chris Jones
cedd844205 Bug 557060: Interpose _Throw() on MSVC and centralize pseudo-throw code in mozalloc. r=ehsan sr=bsmedberg 2010-04-20 15:12:02 -05:00
Chris Jones
7c959e67d7 Bug 551254: Allow reviewed+approved STL headers to be included through <foo>. (<algorithm> and <vector> are provisionally in the list because of their use in libpr0n, but need to be reviewed in followup bug 556700 and bug 556701). r=ehsan,ted,zwol 2010-04-02 12:58:11 -05:00
Chris Jones
996c23e86b Backed out changeset cec7b12eb5e3 2010-04-02 13:20:22 -05:00
Chris Jones
94e6bcfee2 Bug 551254: Allow reviewed+approved STL headers to be included through <foo>. (<algorithm> and <vector> are provisionally in the list because of their use in libpr0n, but need to be reviewed in followup bug 556700 and bug 556701). r=ehsan,ted,zwol 2010-04-02 12:58:11 -05:00