diamond-op warnings