author Gregory Szorc <>
Wed, 16 Mar 2016 14:17:30 -0700
changeset 341320 cf96aa6390d1570d087bbcf2e15729a640b1b1a3
parent 299435 6df52c2b5c0fb4937111801899991ca0da76a8ba
permissions -rw-r--r--
Bug 1257325 - Disable C4838 to unblock compilation on VS2015; r?rbarnes As part of unblocking building with VS2015u1 in automation, I'm mass disabling compiler warnings that are turned into errors. This is not the preferred mechanism to fix compilation warnings. So hopefully this patch never lands because someone insists on fixing the underlying problem instead. But if it does land, hopefully the workaround is only temporary. MozReview-Commit-ID: 6UrAbeEAxLc

# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
# vim: set filetype=python:
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at

EXPORTS.mozilla.dom += [





    # This is intended as a temporary workaround to enable building warning
    # free on Visual Studio 2015.
    # conversion from 'nsTArray_base<Alloc,nsTArray_CopyChooser<E>::Type>::size_type' to
    # 'CK_ULONG' requires a narrowing conversion
    CXXFLAGS += ['-wd4838']

MOCHITEST_MANIFESTS += ['test/mochitest.ini']