Closed Bug 1029215 Opened 11 years ago Closed 11 years ago

remove 'using namespace mozilla' from js/src

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla33

People

(Reporter: luke, Assigned: luke)

Details

Attachments

(1 file)

'using namespace mozilla' causes ambiguity errors for common names like 'Vector', requiring explicit qualification with js:: to fix. (If you've ever gotten one of these mystery ambiguities in a .cpp file even though that .cpp doesn't contain 'using namespace mozilla', it's because of unified builds.) We should probably add this as a rule to the style guide.
Attachment #8444786 - Flags: review?(jwalden+bmo)
Attachment #8444786 - Flags: review?(jwalden+bmo) → review+
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla33
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: