例例文
The doctor warned him against eating too much salt.
医者は彼に塩分を取りすぎないよう注意した。
EN英英で言うと
to tell someone not to do something because it is dangerous
源語源・イメージ

against は「反対・対抗」。行為に反対して警告する。
!入試ポイント
warn A against ~ing = warn A not to do。warn A of B(B を警告する)との前置詞の違いが出る。
「A に~しないよう警告・注意する」= warn A not to do。against の後ろは避けるべき行為(動名詞・名詞)。warn A of / about B(A に B(危険)を知らせる)と区別する。受け身 be warned against ~ing。
同じ意味warn A not to docaution A against ~ing
VSここが違う!
warn A against ~ingvswarn A of B
warn A against ~ing は「~しないように注意する(禁止)」、warn A of B は「B(危険の存在)を知らせる」。見分け方:against の後ろはしてはいけない行為、of の後ろは危険そのもの。
The doctor warned him against smoking. / The sign warned us of falling rocks.
覚覚え方
against は「反対・逆らう」。その行為に反対して注意する=するなと警告。warn A not to do と書き換えられることを確認しておく。
Q入試形式の例題
The doctor warned him eating too much salt.
warn A against ~ing「A に~しないよう警告する」。塩分のとりすぎという避けるべき行為なので against。of は warn A of B で危険の存在を知らせる形。from / for は warn と組まない。warn him not to eat ~ と言い換えられる。