mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-05 21:25:46 +01:00
add -Wpointer-arith -Wcast-qual -Wcast-align and others to compile flags, and fix const cast warnings generated by new flags
git-svn-id: svn://localhost/ardour2/branches/3.0@13124 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
69ca705286
commit
760ccbabfb
16 changed files with 37 additions and 24 deletions
16
wscript
16
wscript
|
|
@ -334,8 +334,20 @@ def set_compiler_flags (conf,opt):
|
|||
# warnings flags
|
||||
#
|
||||
|
||||
conf.env.append_value('CFLAGS', "-Wall")
|
||||
conf.env.append_value('CXXFLAGS', [ '-Wall', '-Woverloaded-virtual'])
|
||||
conf.env.append_value('CFLAGS', [ '-Wall',
|
||||
'-Wpointer-arith',
|
||||
'-Wcast-qual',
|
||||
'-Wcast-align',
|
||||
'-Wstrict-prototypes',
|
||||
'-Wmissing-prototypes'
|
||||
])
|
||||
|
||||
conf.env.append_value('CXXFLAGS', [ '-Wall',
|
||||
'-Wpointer-arith',
|
||||
'-Wcast-qual',
|
||||
'-Wcast-align',
|
||||
'-Woverloaded-virtual'
|
||||
])
|
||||
|
||||
|
||||
#
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue