The U.S. National Hurricane Center has issued a hurricane warning for coastal North Carolina , north to Virginia .