Ticket #47835

Freecify __builtin_unreachable();

Open Date: 2023-04-11 00:20 Last Update: 2023-04-19 17:15

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

Details

I got clang warning that looks like best way to fix it would be using '__builtin_unreachable();'

Just we can't use that unconditionally assuming all compilers to support it. So we need to make freeciv version that does not break build with any compiler.

Ticket History (3/5 Histories)

2023-04-11 00:20 Updated by: cazfi
  • New Ticket "Freecify builtin_unreachable();" created
2023-04-11 00:21 Updated by: cazfi
  • Details Updated
  • Summary Updated
2023-04-11 01:05 Updated by: cazfi
  • Owner Update from (None) to cazfi
  • Resolution Update from None to Accepted
  • Milestone Update from (None) to 3.2.0
Comment

Needed at S3_2 and main.

2023-04-19 17:15 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