Bug 1228641. Remove initializer_list from stl-headers
authorJeff Muizelaar <jmuizelaar@mozilla.com>
Mon, 11 Jan 2016 15:01:14 -0500
changeset 315379 6eb54d2362a0d50035e1b8f1bcf3c69a27d62783
parent 315378 4f02780c73e3a60ce44d423bcf004aa77bf4195b
child 315380 ee172b35291022e113f1ff5b07dc70485a28e145
push id5703
push userraliiev@mozilla.com
push dateMon, 07 Mar 2016 14:18:41 +0000
treeherdermozilla-beta@31e373ad5b5f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1228641
milestone46.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
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.
CLOBBER
config/stl-headers
--- a/CLOBBER
+++ b/CLOBBER
@@ -17,9 +17,9 @@
 #
 # Modifying this file will now automatically clobber the buildbot machines \o/
 #
 
 # Are you updating CLOBBER because you think it's needed for your WebIDL
 # changes to stick? As of bug 928195, this shouldn't be necessary! Please
 # don't change CLOBBER for WebIDL changes any more.
 
-Bug 1133073 - Use PR_DuplicateEnvironment from NSPR and remove interim mozglue wrappers.
+Bug 1228641 - Remove initializer_list from config/stl-headers
--- a/config/stl-headers
+++ b/config/stl-headers
@@ -15,17 +15,16 @@
 new
 
 # FIXME: these headers haven't been reviewed yet, but we use them
 # unsafely in Gecko, so we might as well prevent them from
 # throwing exceptions
 algorithm
 atomic
 deque
-initializer_list
 ios
 iosfwd
 iostream
 iterator
 limits
 list
 map
 memory