Ticket #47957

dai_process_defender_want() desire 'int' to fabs()

Open Date: 2023-04-28 02:32 Last Update: 2023-05-01 21:09

Reporter:
Owner:
Type:
Status:
Closed
Component:
MileStone:
Priority:
6
Severity:
5 - Medium
Resolution:
Fixed
File:
1

Details

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
  • Priority Update from 5 - Medium to 6
2023-04-29 04:30 Updated by: cazfi
  • Owner Update from (None) to cazfi
  • Resolution Update from None to Accepted
Comment

- 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
  • Status Update from Open to Closed
  • Resolution Update from Accepted to Fixed

Attachment File List

Edit

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