Read the dictionary definition of warning. All definitions for this word.
1. cautionary advice about something imminent (especially imminent danger or other unpleasantness)
1. a letter of admonition about the dangers of immorality
2. the warning was to beware of surprises
3. his final word of advice was not to play with matches
2. notification of something, usually in advance
1. they gave little warning of their arrival
2. she had only had four days' warning before leaving Berlin
3. a message informing of danger
1. a warning that still more bombs could explode
4. serving to warn
1. shook a monitory finger at him
2. an exemplary jail sentence