Ticket #40843

monster-race-definition.h: clang incomplete type error

Eröffnet am: 2020-10-08 00:22 Letztes Update: 2021-01-02 22:58

Auswertung:
Verantwortlicher:
Typ:
Status:
Geschlossen
Komponente:
(Keine)
Priorität:
1 - Unterste
Schweregrad:
3
Lösung:
Gefixt
Datei:
1

Details

A recent change to monster-race-definition.h in the For2.2.2-Refactoring branch causes compiler errors with clang (version 12.0.0 as included with Xcode 12.0.1). The errors are "field has incomplete type" for the method and effect fields in monster_blow. This commit, https://osdn.net/projects/hengbandforosx/scm/git/hengbandosx/commits/cf3126346ae92515efcdb8314bb882e10fe00932 , on the For2.2.2-Refactoring-incomplete-type-for-enum branch of the hengbandforosx project has one way of resolving the error. I've also attached that change as a patch from git format-patch.

Ticket-Verlauf (3/5 Historien)

2020-10-08 00:22 Aktualisiert von: backwardseric
  • New Ticket "monster-race-definition.h: clang incomplete type error" created
2020-10-12 23:53 Aktualisiert von: deskull
2020-10-12 23:59 Aktualisiert von: deskull
  • Status Update from Offen to Geschlossen
Kommentar

It was merged. thanks.

2021-01-02 22:58 Aktualisiert von: deskull

Dateianhangliste

Bearbeiten

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