Ticket #41324

Post 3.0.0.1: clang compiler error in special-death-switcher.c

Open Date: 2021-01-24 15:41 Last Update: 2021-01-24 20:36

Reporter:
Owner:
Type:
Status:
Closed
Component:
(None)
Priority:
3
Severity:
3
Resolution:
Accepted
File:
None

Details

A recent change causes a clang (version 12.0.0) compiler error in src/monster-floor/special-death-switcher.c: there's no prototype for sound().

This commit, https://osdn.net/projects/hengbandforosx/scm/git/hengbandosx/commits/fee73221ca03e795fba6d9bc3545cd903a554f09 , on the clang-error-no-sound-prototype branch of the hengbandforosx project takes care of the compile error by including main/sound-of-music.h.

Ticket History (3/8 Histories)

2021-01-24 15:41 Updated by: backwardseric
  • New Ticket "Post 3.0.0.1: clang compiler error in special-death-switcher.c" created
2021-01-24 16:14 Updated by: deskull
Comment

Thanks. I'll merge it to next version.

2021-01-24 16:19 Updated by: hourier
  • Owner Update from deskull to hourier
  • Resolution Update from None to Accepted
Comment

私のコード修正が原因なので本件引き取ります

2021-01-24 20:31 Updated by: deskull
Comment

普通にVS2019でも警告出てたので直します。

2021-01-24 20:33 Updated by: hourier
Comment

お手数ですがよろしくお願いします
担当者とマイルストーンを変更しておきます

2021-01-24 20:35 Updated by: deskull
Comment

修正しました。

2021-01-24 20:36 Updated by: deskull
Comment

deskull への返信

Thanks. I'll merge it to next version.

Sorry. It should be fixed in this version. I fixed.

2021-01-24 20:36 Updated by: deskull

Attachment File List

No attachments

Edit

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