Skip to content

Commit

Permalink
Builder: Fixed doubled Clang warning count, ignore external warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
skyjake committed Jul 24, 2015
1 parent f1d8b9b commit b5865ee
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion distrib/builder/utils.py
Expand Up @@ -147,9 +147,13 @@ def count_log_word(fn, word):
pos = txt.find(unicode(word))
if pos < 0: continue
endPos = pos + len(word)
# Ignore some unnecessary gcc messages.
# Ignore some unnecessary messages.
if 'should be explicitly initialized in the copy constructor' in txt: continue
if 'deprecated' in txt: continue
if 'doomsday\\external\\assimp\\code' in txt: continue
if 'doomsday\\external\\assimp\\contrib' in txt: continue
if ' warning generated.' in txt: continue
if ' warnings generated.' in txt: continue
try:
if txt[pos-1] not in '/\\_'+string.ascii_letters and \
txt[endPos] not in string.ascii_letters+'.(' and \
Expand Down

0 comments on commit b5865ee

Please sign in to comment.