The US president made his strongly caveated remarks after talks with French President Emmanuel Macron.