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)

x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla23

People

(Reporter: dholbert, Assigned: dholbert)

References

(Blocks 1 open bug)

Details

(Whiteboard: [WebRTC][blocking-webrtc-][qa-])

Attachments

(1 file)

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.
Attachment #742650 - Flags: review?(ethanhugg)
(this fixes the build warning for me, locally)
[Cargo-culting whiteboard status from other webrtc build-warning bug 866317.]
Assignee: nobody → dholbert
Status: NEW → ASSIGNED
Whiteboard: [WebRTC][blocking-webrtc-]
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+
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla23
Whiteboard: [WebRTC][blocking-webrtc-] → [WebRTC][blocking-webrtc-][qa-]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: