Authorities in France battled to contain a huge wildfire near Bordeaux as the forecast of another heatwave threatened to deepen the crisis and the Spanish prime minister, Pédro Saánchez, warned Spain and the Iberian peninsula were suffering the effects of the climate emergency.

Windy conditions on Saturday night hampered efforts to extinguish the blaze in the Gironde region of south-western France – which has consumed an area four times the size of Paris and caused nearly 220,000 people to be evacuated.

In Spain , fires west of Madrid were being brought under control, but Sánchez spoke on Sunday of “difficult hours”.

Weather forecasters say another heatwave could hit France from Tuesday, with temperatures reaching 40C in some areas.

Wildfires have forced about 375,000 people to flee their homes in France and Spain.

In France nearly 260,000 have been forced to flee, while in neighbouring Spain 116,000 have been evacuated this week.

Bordeaux’s mayor, Thomas Cazenave, described the Gironde blaze as being “at the gates of the metropolitan area”, between 15 and 20 miles (25-30km) from the city itself, which has a population of 268,000.

An evacuation of the city was not on the cards, he said.