Closed
Bug 866358
Opened 12 years ago
Closed 12 years ago
sdp_main.c:1466:5: warning: implicit declaration of function ‘vcmOnSdpParseError’ [-Wimplicit-function-declaration]
Categories
(Core :: WebRTC, defect)
Tracking
()
RESOLVED
FIXED
mozilla23
People
(Reporter: dholbert, Assigned: dholbert)
References
(Blocks 1 open bug)
Details
(Whiteboard: [WebRTC][blocking-webrtc-][qa-])
Attachments
(1 file)
1006 bytes,
patch
|
ehugg
:
review+
|
Details | Diff | Splinter Review |
GCC build warning (using GCC 4.8):
{
media/webrtc/signaling/src/sipcc/core/sdp/sdp_main.c: In function ‘sdp_parse_error’:
media/webrtc/signaling/src/sipcc/core/sdp/sdp_main.c:1466:5: warning: implicit declaration of function ‘vcmOnSdpParseError’ [-Wimplicit-function-declaration]
}
This file is invoking vcmOnSdpParseError without ever #including the correct header for that function's declaration.
Just needs an #include "vcm.h".
(Looks like this function-call was introduced in https://hg.mozilla.org/mozilla-central/rev/c9d9b906b4e0 for bug 805533 -- adding dependency on that bug.
Assignee | ||
Comment 1•12 years ago
|
||
Attachment #742650 -
Flags: review?(ethanhugg)
Assignee | ||
Comment 2•12 years ago
|
||
(this fixes the build warning for me, locally)
Assignee | ||
Comment 3•12 years ago
|
||
[Cargo-culting whiteboard status from other webrtc build-warning bug 866317.]
Assignee: nobody → dholbert
Status: NEW → ASSIGNED
Whiteboard: [WebRTC][blocking-webrtc-]
Comment 4•12 years ago
|
||
Comment on attachment 742650 [details] [diff] [review]
fix: add #include
Review of attachment 742650 [details] [diff] [review]:
-----------------------------------------------------------------
Looks good to me.
Attachment #742650 -
Flags: review?(ethanhugg) → review+
Assignee | ||
Comment 5•12 years ago
|
||
Flags: in-testsuite-
Comment 6•12 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla23
Updated•12 years ago
|
Whiteboard: [WebRTC][blocking-webrtc-] → [WebRTC][blocking-webrtc-][qa-]
You need to log in
before you can comment on or make changes to this bug.
Description
•