The most common and most likely answer to this crossword clue is the 10 letter word CAUTIONARY
C
A
U
T
I
O
N
A
R
Y
Buddy explains!

The straight part
We know that "warning" is the straight/definition part of the clue. The straight part is often a synonym or definition, in this case warning = cautionary.The cryptic/wordplay part
In cryptic crossword there's often an wordplay/cryptic part as well.This part involves a more complex hint, such as an anagram, homophone, hidden word, etc.
Sadly, We don't have an explanation for this specific crossword clue yet.
What does CAUTIONARY mean?
CAUTIONARY adjective- Serving to caution or warn; admonitory
- Serving to ward off; preventive
- Held as security or hostage