Make core:warnings_as_errors
accept a list
#15297
Merged
core:warnings_as_errors
accept a list
#15297