 " The Warning " is a hip hop diss song written and performed by American rapper Eminem and produced by Dr. Dre as part of an ongoing conflict with Mariah Carey . Throughout his career , Eminem claimed he once had a relationship with Carey , dating her for six months . Carey , however , always denied the claim . As a result , Eminem recorded a number of songs in which he rapped about the singer in a negative light , angered by her not admitting to seeing him . 
