Ticket #46372

FC_PTR_TO_INT() not working under c23

Date d'ouverture: 2022-12-27 12:22 Dernière mise à jour: 2023-01-13 15:22

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

Détails

In C23 mode I've got compile failure from client options hash handling, that seems to be down to bad cast by FC_PTR_TO_INT()

Ticket History (3/7 Histories)

2022-12-27 12:22 Updated by: cazfi
  • New Ticket "FC_PTR_TO_INT() not working under c23" created
2022-12-29 14:42 Updated by: cazfi
  • Jalon Update from (Aucun) to 3.0.6 (atteints)
  • Composant Update from (Aucun) to General
2023-01-07 22:22 Updated by: cazfi
Commentaire

The problem is not the casts made by FC_PTR_TO_INT(), but the parameter passed to it; there's a bad cast to get PTR for FC_PTR_TO_INT() to cast forward.

Yes, these macros within macros ending up making four or five casts from one type to the next might be a bit insane, but I'm for just fixing them in the stable branches. Any bigger restructuring should take place in development branch only.

2023-01-07 23:34 Updated by: cazfi
  • Propriétaire Update from (Aucun) to cazfi
  • Résolution Update from Aucun to Accepted
Commentaire

Also to S2_6.

2023-01-13 15:22 Updated by: cazfi
  • État Update from Ouvert to Atteints
  • Résolution Update from Accepted to Fixed

Modifier

Please login to add comment to this ticket » Connexion