When @warnings contains more than one element, compare correctly