Ticket #47555

Qt: "implicit capture of 'this' with '[=]'is deprecated in C++20"

Date d'ouverture: 2023-03-11 11:40 Dernière mise à jour: 2023-03-22 18:54

Rapporteur:
Propriétaire:
Type:
État:
Atteints
Composant:
Priorité:
5 - moyen
Sévérité:
5 - moyen
Résolution:
Fixed
Fichier:
4

Détails

Qt-client build with latest C++ standards gives deprecation warnings about capturing 'this' with '[=]'.

I think this is a deprecation between freeciv-3.0 and freeciv-3.1 (former does not use '[=]' at all)

Ticket History (3/9 Histories)

2023-03-11 11:40 Updated by: cazfi
  • New Ticket "Qt: "implicit capture of 'this' with '[=]'is deprecated in C++20"" created
2023-03-18 11:08 Updated by: cazfi
  • Propriétaire Update from (Aucun) to cazfi
  • Résolution Update from Aucun to Accepted
2023-03-20 14:11 Updated by: cazfi
  • Résolution Update from Accepted to Aucun
Commentaire

Breaks clang builds. Seems like configure check is not strict enough.

2023-03-20 23:09 Updated by: cazfi
  • Résolution Update from Aucun to Accepted
Commentaire

Reply To cazfi

Breaks clang builds. Seems like configure check is not strict enough.

Attached version uses -Werror also configure time.

2023-03-22 18:54 Updated by: cazfi
  • État Update from Ouvert to Atteints
  • Résolution Update from Accepted to Fixed

Modifier

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » Connexion