Skip to content

Commit

Permalink
Silence invalid offsetof warning, only used in static_assert
Browse files Browse the repository at this point in the history
Signed-off-by: falkTX <[email protected]>
  • Loading branch information
falkTX committed Jul 5, 2021
1 parent 814629b commit 0ac09f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wscript
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ def configure(conf):
mandatory=False)

conf.env.append_unique('CFLAGS', '-Wall')
conf.env.append_unique('CXXFLAGS', '-Wall')
conf.env.append_unique('CXXFLAGS', ['-Wall', '-Wno-invalid-offsetof'])
conf.env.append_unique('CXXFLAGS', '-std=gnu++11')

if not conf.env['IS_MACOSX']:
Expand Down

0 comments on commit 0ac09f7

Please sign in to comment.