A tropical storm warning is in effect for Mecklenburg County. Tropical storm-force winds and heavy rains are expected through Friday.