Opened 13 years ago

Closed 13 years ago

#31342 closed defect (worksforme)

audiofile @0.3.1_0 Build failure - g711.c

Reported by: jiminaus@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: Cc: rmstonecipher@…
Port: audiofile

Description

On Mac OS X 10.7, upgrading audiofile from 0.2.7_0 to 0.3.1_0 fails with a compiler error in g711.c. Actually it's only a warning, but -Werror is in effect.

Attached is the main.log

Attachments (1)

main.zip (6.0 KB) - added by jiminaus@… 13 years ago.
main.log

Download all attachments as: .zip

Change History (5)

Changed 13 years ago by jiminaus@…

Attachment: main.zip added

main.log

comment:1 Changed 13 years ago by jiminaus@…

Sorry, these are the actual build errors.

:info:build g711.c:133:24: error: passing 'const short [8]' to parameter of type 'short *' discards qualifiers [-Werror]
:info:build         seg = search(pcm_val, seg_end, 8);
:info:build                               ^~~~~~~
:info:build g711.c:227:24: error: passing 'const short [8]' to parameter of type 'short *' discards qualifiers [-Werror]
:info:build         seg = search(pcm_val, seg_end, 8);
:info:build                               ^~~~~~~

comment:2 Changed 13 years ago by jiminaus@…

Okay I don't know what's going on here. I just tried to build it again and didn't get this problem. Can this ticket be closed?

comment:3 Changed 13 years ago by jiminaus@…

Ahh, this was fixed under ticket 31368. It's the clang verses gcc issue.

comment:4 Changed 13 years ago by mf2k (Frank Schima)

Resolution: worksforme
Status: newclosed
Note: See TracTickets for help on using tickets.