Hack to avoid bug in scons 0.ninety-something which doesn't allow

warning options to be set.  I'm loving scons right now.



git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@75 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 5a57a29d
...@@ -487,8 +487,13 @@ def Build(): ...@@ -487,8 +487,13 @@ def Build():
# We disable deprecation warnings because we need to be able to use # We disable deprecation warnings because we need to be able to use
# env.Copy without getting warnings for compatibility with older # env.Copy without getting warnings for compatibility with older
# version of scons. # version of scons. Also, there's a bug in some revisions that
SetOption('warn', 'no-deprecated') # doesn't allow this flag to be set, so we swallow any exceptions.
# Lovely.
try:
SetOption('warn', 'no-deprecated')
except:
pass
Build() Build()
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment