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, Pedro Sánchez, warned Spain and the Iberian peninsula were suffering the effects of the climate emergency. This was reported by Qazaqyia.kz citing The Guardian.

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.

Nearly 260,000 people have been evacuated across France as a whole, including 36,000 ordered to leave another wildfire zone in the Landes region farther south earlier this week.

Sophie Brocas, the prefect of the Nouvelle-Aquitaine region, which includes the Gironde, said that the highly unpredictable nature of this wildfire was a phenomenon never seen before in France. "I urge tourists not to come to Gironde as long as the fire has not been contained," she said. "I invite tourists who are already here to think about going to another destination. We don't know where the fire is going to go."

France's president, Emmanuel Macron, was due on Monday morning to hold a crisis cabinet meeting to discuss the emergency.

France's interior minister, Laurent Nuñez, said on Sunday the previous night had been difficult and "the situation remains very unfavourable". He said the Gironde fire had become "extremely virulent and unpredictable again" on Saturday night, generating its own wind and spreading erratically towards the Bordeaux metropolitan area. It had become calmer by the end of the night, he said.

Since Wednesday, the fire in Gironde has injured 84 firefighters, 10 of whom have been evacuated, according to the latest situation report published on Sunday by the prefecture.

Sebastien Bouvier, federal secretary of France's CFDT union, said firefighters did not have adequate equipment to protect themselves from the fires' toxic fumes.

About 2,500 firefighters (including a Swiss team), 1,500 military personnel and about 1,200 police had been deployed to Gironde, Nuñez said, as he praised the contribution of 450 volunteers from civil security organisations.

He said another five Gironde municipalities had been evacuated overnight.

One firefighter told Agence France-Presse that the fire had formed a pyrocumulonimbus, a fire-generated thunderstorm that "creates its own wind, with whirlwinds, becoming erratic and uncontrollable".

A spokesperson for the National Firefighters Federation of France said that while known in wildfire-prone Australia and Canada, one had never been seen before in France. The federation's Lt Col Éric Brocardi told AFP there was a need to understand a "natural force beyond our control". He said: "It's a David v Goliath scenario: the idea is that, at some point, we'll find a weak spot and strike there."

Police in Gironde made three arrests over the weekend, including one man smoking in the forest and two having barbecues in a forest area.

Authorities in Spain said major areas of fire near Madrid had been contained and cooled down, according to a senior officer with Spain's military emergencies unit.

"We're facing some difficult hours, although it's true that the latest update has shown that last night was very positive in terms of the fire's evolution and efforts to control it," Pedro Sánchez said.

Speaking at an advance firefighters' command post west of Madrid, the prime minister warned that Spain and Portugal were experiencing the varied consequences of the climate emergency, from fires and storms to heavy snowfalls. "The entire Iberian peninsula is suffering the effects of the climate emergency in a very specific way," he said.

While the fire near Madrid was being brought under control, emergency workers battled to extinguish a new fire near the Mediterranean port city of València, where at least 15,000 people were evacuated. "The fire is beyond our capacity to extinguish, it has a perimeter of about 21km," the València region's president, Juanfran Pérez Llorca, said late on Saturday.