Closed Bug 892102 Opened 11 years ago Closed 11 years ago

build fails for clang++ -stdlib=libc++: use of undeclared identifier 'abs'

Categories

(Core :: WebRTC: Audio/Video, defect)

x86_64
FreeBSD
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla25

People

(Reporter: jbeich, Assigned: jbeich)

References

Details

Attachments

(1 file, 1 obsolete file)

Attached patch explicitly include (obsolete) — Splinter Review
media/webrtc/trunk/webrtc/video_engine/stream_synchronization.cc:112:7: error: use of undeclared identifier 'abs'; did you mean 'fabs'? if (abs(avg_diff_ms_) < kMinDeltaMs) { ^~~ fabs /usr/include/math.h:211:8: note: 'fabs' declared here double fabs(double) __pure2; ^ 1 error generated. gmake[5]: *** [stream_synchronization.o] Error 1
Attachment #773559 - Flags: review?(rjesup)
Attachment #773559 - Flags: review?(rjesup) → review+
keeping r+, forgot to rebase
Attachment #773559 - Attachment is obsolete: true
Keywords: checkin-needed
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla25
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: