The warning came after Washington and its allies said they would weigh building a weapons base in the Philippines.