daca2: compile with debug info, when there is exception write info on stderr

This commit is contained in:
Daniel Marjamäki 2015-11-18 13:36:23 +01:00
parent 04ecbba361
commit d0e1583f20
2 changed files with 2 additions and 2 deletions

View File

@ -167,7 +167,7 @@ def scanarchive(filepath, jobs):
'-D__GCC__', '-D__GCC__',
'--enable=style', '--enable=style',
'--error-exitcode=0', '--error-exitcode=0',
'--exception-handling', '--exception-handling=stderr',
jobs, jobs,
'.'], '.'],
stdout=subprocess.PIPE, stdout=subprocess.PIPE,

View File

@ -45,7 +45,7 @@ def daca2(foldernum):
rev = rev[:rev.find('\n')] rev = rev[:rev.find('\n')]
# compile cppcheck # compile cppcheck
subprocess.call(['nice', 'make', 'SRCDIR=build', 'CFGDIR=' + os.path.expanduser('~/cppcheck/cfg'), 'CXXFLAGS=-O2', 'CPPFLAGS=-DMAXTIME=600']) subprocess.call(['nice', 'make', 'SRCDIR=build', 'CFGDIR=' + os.path.expanduser('~/cppcheck/cfg'), 'CXXFLAGS="-g -O2"', 'CPPFLAGS=-DMAXTIME=600'])
subprocess.call(['mv', 'cppcheck', os.path.expanduser('~/daca2/cppcheck-O2')]) subprocess.call(['mv', 'cppcheck', os.path.expanduser('~/daca2/cppcheck-O2')])
# run cppcheck # run cppcheck