зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1315143 - Disable warnings caused by including BasePrincipal.h r=Cykesiopka,keeler
--HG-- extra : rebase_source : 79e9d80eada5e4c0450852da4d0bbc42e5e9f1bf
This commit is contained in:
Родитель
5af7537250
Коммит
6fe3399188
|
@ -11,11 +11,28 @@
|
|||
#include "CTVerifyResult.h"
|
||||
#include "OCSPCache.h"
|
||||
#include "ScopedNSSTypes.h"
|
||||
#include "mozilla/BasePrincipal.h"
|
||||
#include "mozilla/Telemetry.h"
|
||||
#include "mozilla/UniquePtr.h"
|
||||
#include "pkix/pkixtypes.h"
|
||||
|
||||
#if defined(_MSC_VER)
|
||||
#pragma warning(push)
|
||||
// Silence "RootingAPI.h(718): warning C4324: 'js::DispatchWrapper<T>':
|
||||
// structure was padded due to alignment specifier with [ T=void * ]"
|
||||
#pragma warning(disable:4324)
|
||||
// Silence "Value.h(448): warning C4365: 'return': conversion from 'const
|
||||
// int32_t' to 'JS::Value::PayloadType', signed/unsigned mismatch"
|
||||
#pragma warning(disable:4365)
|
||||
// Silence "warning C5031: #pragma warning(pop): likely mismatch, popping
|
||||
// warning state pushed in different file
|
||||
#pragma warning(disable:5031)
|
||||
#endif /* defined(_MSC_VER) */
|
||||
#include "mozilla/BasePrincipal.h"
|
||||
#if defined(_MSC_VER)
|
||||
#pragma warning(pop) /* popping the pragma in Vector.h */
|
||||
#pragma warning(pop) /* popping the pragma in this file */
|
||||
#endif /* defined(_MSC_VER) */
|
||||
|
||||
namespace mozilla { namespace ct {
|
||||
|
||||
// Including MultiLogCTVerifier.h would bring along all of its dependent
|
||||
|
|
Загрузка…
Ссылка в новой задаче