To warn … of…
1. I already warned her of the danger of being cheated by that guy, but she insisted doing things her way.
2. He warned us that the road was icy.
3. The black clouds warned us of the approaching storm.
4. He was warned of the danger, but he wouldn't listen.