Skip to content

Commit 57cbd9f

Browse files
MaxKellermanniluuu1994
authored andcommitted
.cirrus.yml: add -Wassign-enum
To find mistakes with enums. See php#10617 (review)
1 parent a820339 commit 57cbd9f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.cirrus.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ asan_task:
147147
`#--with-pdo-firebird`
148148
`#--with-pdo-dblib`
149149
--enable-werror
150-
CFLAGS='-fsanitize=undefined,address -DZEND_TRACK_ARENA_ALLOC'
150+
CFLAGS='-fsanitize=undefined,address -DZEND_TRACK_ARENA_ALLOC -Wassign-enum'
151151
LDFLAGS='-fsanitize=undefined,address'
152152
CC=clang
153153
CXX=clang++

0 commit comments

Comments
 (0)