It is indeed better to issue a single warning -- that way it can be filtered more easily.