mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1167030 - Suppress MSVC warning C4661 in js/src. r=luke
This commit is contained in:
parent
389a133406
commit
4bde946bd4
@ -693,7 +693,6 @@ class Parser : private JS::AutoGCRooter, public StrictModeGetter
|
||||
bool checkDestructuringObject(BindData<ParseHandler>* data, Node objectPattern);
|
||||
bool checkDestructuringArray(BindData<ParseHandler>* data, Node arrayPattern);
|
||||
bool bindInitialized(BindData<ParseHandler>* data, Node pn);
|
||||
bool bindDestructuringLHS(Node pn);
|
||||
bool makeSetCall(Node pn, unsigned msg);
|
||||
Node cloneDestructuringDefault(Node opn);
|
||||
Node cloneLeftHandSide(Node opn);
|
||||
|
@ -178,7 +178,6 @@ class RegExpParser
|
||||
|
||||
RegExpTree* ParsePattern();
|
||||
RegExpTree* ParseDisjunction();
|
||||
RegExpTree* ParseGroup();
|
||||
RegExpTree* ParseCharacterClass();
|
||||
|
||||
// Parses a {...,...} quantifier and stores the range in the given
|
||||
|
@ -538,6 +538,11 @@ if CONFIG['_MSC_VER']:
|
||||
# But given the conversion from bool is specified, and this is a
|
||||
# pattern widely used in code in js/src, suppress this warning here.
|
||||
CXXFLAGS += ['-wd4805']
|
||||
# C4661 ("no suitable definition provided for explicit template
|
||||
# instantiation request") is emitted for all Parser methods that
|
||||
# have a Parser<FullParseHandler> definition but no
|
||||
# Parser<SyntaxParseHandler> definition, see bug 1167030.
|
||||
CXXFLAGS += ['-wd4661']
|
||||
CXXFLAGS += ['-we4067', '-we4258', '-we4275']
|
||||
|
||||
if CONFIG['OS_ARCH'] not in ('WINNT', 'HP-UX'):
|
||||
|
Loading…
Reference in New Issue
Block a user