A profit warning occurs when a company advises shareholders and the public that its earnings results will not meet analyst expectations.
A company generally issues a profit warning before the public announcement of its official earnings results.
A company usually announces a profit warning two or more weeks before an earnings announcement.
Some companies do this to soften the blow to investors, allowing both them and the market as a whole more time to adjust accordingly.