I warned him not to live in that street.
I warned him not to go further.
He was warned of the danger.
The doctor warned me against drinking.
I have warned you of this danger over and again.
The teacher excused the erring student and warned him to be careful in future.