Closed Bug 1613395 Opened 4 years ago Closed 4 years ago

'alloc_size' attribute ignored on a function returning 'int' warning in some thirdparty media code

Categories

(Core :: Audio/Video, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla74
Tracking Status
firefox74 --- fixed

People

(Reporter: Sylvestre, Assigned: Sylvestre)

References

Details

Attachments

(1 file)

In file included from /root/firefox-gcc-last/dom/media/platforms/ffmpeg/ffmpeg58/include/libavutil/common.h:488,
                 from /root/firefox-gcc-last/dom/media/platforms/ffmpeg/ffmpeg58/include/libavutil/avutil.h:296,
                 from /root/firefox-gcc-last/dom/media/platforms/ffmpeg/ffmpeg58/include/libavutil/samplefmt.h:24,
                 from /root/firefox-gcc-last/dom/media/platforms/ffmpeg/ffmpeg58/include/libavcodec/avcodec.h:31,
                 from /root/firefox-gcc-last/dom/media/platforms/ffmpeg/FFmpegLibs.h:14,
                 from /root/firefox-gcc-last/dom/media/platforms/ffmpeg/FFmpegDataDecoder.h:13,
                 from /root/firefox-gcc-last/dom/media/platforms/ffmpeg/FFmpegAudioDecoder.h:10,
                 from /root/firefox-gcc-last/dom/media/platforms/ffmpeg/FFmpegAudioDecoder.cpp:9,
                 from Unified_cpp_ffmpeg_ffvpx0.cpp:2:
/root/firefox-gcc-last/dom/media/platforms/ffmpeg/ffmpeg58/include/libavutil/mem.h:342:79: error: 'alloc_size' attribute ignored on a function returning 'int' [-Werror=attributes]
Assignee: nobody → sledru
Status: NEW → ASSIGNED
Pushed by sledru@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/73d36962cbae
Disable gcc -Wattributes on some thirdparty media code r=froydnj
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla74
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: