Enable debug. This also involves fixing "continuations" that are printed *before* the warning, such as "instantiated here" messages. Ideally we'd be collecting those somehow.
authorBenjamin Smedberg <benjamin@smedbergs.us>
Thu, 08 Jan 2009 15:38:11 -0500
changeset 13 e352aa637c0d
parent 12 0b5a89ccda6a
child 14 93ae8501dda9
push id7
push userbsmedberg@mozilla.com
push dateFri, 09 Jan 2009 20:28:25 +0000
Enable debug. This also involves fixing "continuations" that are printed *before* the warning, such as "instantiated here" messages. Ideally we'd be collecting those somehow.
mozconfig
warning-parser.py
--- a/mozconfig
+++ b/mozconfig
@@ -1,7 +1,8 @@
 mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/obj-buildbot
 
 export CC=/builds/gcc-dehydra/installed/bin/gcc
 export CXX=/builds/gcc-dehydra/installed/bin/g++
 
 ac_add_options --enable-application=browser
 ac_add_options --with-static-checking=/builds/gcc-dehydra/dehydra/gcc_treehydra.so
+ac_add_options --enable-debug
--- a/warning-parser.py
+++ b/warning-parser.py
@@ -92,17 +92,17 @@ for line in open(logfile):
         if m is None:
             if line.find('warning') != -1:
                 print "Found unexpected 'warning': %s" % line
 
             curord = -1
             continue
 
         if curord == -1:
-            raise Exception("Found warning continuation before warning!: %s" % line)
+            continue
 
     file, lineno, msg = m.group('file', 'line', 'msg')
     file = os.path.join(cwdstack[-1], file)
     file = os.path.realpath(file)
 
     if lineno is not None:
         lineno = int(lineno)