[mcs] Add more warnings for caller attributes