1 # -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
2 # vim: set filetype=python:
3 # This Source Code Form is subject to the terms of the Mozilla Public
4 # License, v. 2.0. If a copy of the MPL was not distributed with this
5 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
13 if CONFIG['CC_TYPE'] in ('clang', 'gcc'):
19 if CONFIG['CC_TYPE'] == 'clang':
24 if CONFIG['CC_TYPE'] == 'clang-cl':
27 '-wd4146', # unary minus operator applied to unsigned type
28 '-wd4305', # truncation from 'double' to 'const float'
29 '-wd4723', # potential divide by 0
30 '-wd4756', # overflow in constant arithmetic
33 # These sources can't be unified because there are too many conflicting global
34 # variables (e.g. almost every source file defines a `one` and a `huge`).
72 # 's_copysign.cpp', # Unused file.