Closed Bug 782760 Opened 12 years ago Closed 12 years ago

DOMCameraManager.cpp:10:0: warning: "DOM_CAMERA_LOG_LEVEL" redefined [enabled by default]

Categories

(Firefox OS Graveyard :: General, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: dholbert, Unassigned)

Details

When building desktop firefox, I get this build warning:
> dom/camera/DOMCameraManager.cpp:10:0: warning: "DOM_CAMERA_LOG_LEVEL" redefined [enabled by default]
> In file included from ../../../mozilla/dom/camera/DOMCameraManager.cpp:5:0:
> dom/camera/CameraControl.h:16:0: note: this is the location of the previous definition

Basically, DOMCameraManager.cpp includes CameraControl.h at the top, and that file defines DOM_CAMERA_LOG_LEVEL.  But then DOMCameraManager.cpp goes ahead and defines DOM_CAMERA_LOG_LEVEL for itself, too.
Resolved by changes in patch attached to bug 779139.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.