Ticket #47957

dai_process_defender_want() desire 'int' to fabs()

Date d'ouverture: 2023-04-28 02:32 Dernière mise à jour: 2023-05-01 21:09

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

Détails

S3_0 build fails on Suse Leap. It doesn't like the fact that fabs() gets an non-float parameter on dai_process_defender_want().

I guess it's referring to 'desire' being an int, and that looks like real bug to me (definitely should support non-integer values)

Ticket History (3/5 Histories)

2023-04-28 02:32 Updated by: cazfi
  • New Ticket "dai_process_defender_want() desire 'int' to fabs()" created
2023-04-28 14:07 Updated by: cazfi
  • Priorité Update from 5 - moyen to 6
2023-04-29 04:30 Updated by: cazfi
  • Propriétaire Update from (Aucun) to cazfi
  • Résolution Update from Aucun to Accepted
Commentaire

- More a "clang issue" than "Suse Leap issue" - seen on other environments since original report
- Only S3_0 affeced. Later branches (from where this was backported) have those variables as floats
- I've concluded that right thing to do (in S3_0 - if other branches affected would have been affected, they could have had different fix) is to do partial revert of osdn #47901

Patch attached.

2023-05-01 21:09 Updated by: cazfi
  • État Update from Ouvert to Atteints
  • Résolution Update from Accepted to Fixed

Attachment File List

Modifier

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