Skip to content

Commit

Permalink
meson.build: enable more compiler warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxKellermann committed Jan 1, 2025
1 parent 851f576 commit e06473c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,14 @@ test_cxxflags = test_common_flags + [
'-fno-threadsafe-statics',
'-fmerge-all-constants',

'-Wcomma-subscript',
'-Wextra-semi',
'-Wmismatched-tags',
'-Woverloaded-virtual',
'-Wsign-promo',
'-Wvolatile',
'-Wvirtual-inheritance',

# a vtable without a dtor is just fine
'-Wno-non-virtual-dtor',

Expand Down

0 comments on commit e06473c

Please sign in to comment.