Disables some SpiderMonkey-related build warnings with clang
This was SVN commit r16379.
This commit is contained in:
parent
8bf1fe1437
commit
1ac24adde2
@ -31,6 +31,10 @@
|
||||
# pragma GCC diagnostic ignored "-Wredundant-decls"
|
||||
# pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
|
||||
#endif
|
||||
#if CLANG_VERSION
|
||||
# pragma clang diagnostic push
|
||||
# pragma clang diagnostic ignored "-Wmismatched-tags"
|
||||
#endif
|
||||
#if MSC_VERSION
|
||||
// reduce the warning level for the SpiderMonkey headers
|
||||
# pragma warning(push, 1)
|
||||
@ -51,6 +55,9 @@
|
||||
#if MSC_VERSION
|
||||
# pragma warning(pop)
|
||||
#endif
|
||||
#if CLANG_VERSION
|
||||
# pragma clang diagnostic pop
|
||||
#endif
|
||||
#if GCC_VERSION
|
||||
# pragma GCC diagnostic pop
|
||||
#endif
|
||||
|
@ -51,6 +51,7 @@
|
||||
# pragma clang diagnostic ignored "-Wuninitialized"
|
||||
# pragma clang diagnostic ignored "-Wc++11-extensions"
|
||||
# pragma clang diagnostic ignored "-Wignored-qualifiers"
|
||||
# pragma clang diagnostic ignored "-Wmismatched-tags"
|
||||
// Ugly hack to deal with macro redefinitions from libc++
|
||||
# ifdef nullptr
|
||||
# undef nullptr
|
||||
|
Loading…
Reference in New Issue
Block a user