To notify (someone) of imminent danger or risk
I warn you again, step aside.
Paints that warn of overheating.
Go up the hill and watch for cars so you can warn anyone before they get to the curve.
I came to warn you.
But I feel obliged to warn you anyway.