Closed Bug 1033188 Opened 10 years ago Closed 10 years ago

Fix Android gcc warnings about implicit declaration of function 'getenv'

Categories

(Core :: Memory Allocator, defect)

All
Android
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla33
Tracking Status
firefox32 --- wontfix
firefox33 --- fixed

People

(Reporter: cpeterson, Assigned: cpeterson)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Fix Android gcc warnings by #including <stdlib.h> for getenv() function prototype: memory/build/replace_malloc.c:82:3 [-Wimplicit-function-declaration] implicit declaration of function 'getenv' memory/build/replace_malloc.c:82:30 [enabled by default] initialization makes pointer from integer without a cast Also mark memory/build/ directory as FAIL_ON_WARNINGS because it has no other warnings on any platform: https://tbpl.mozilla.org/?tree=Try&rev=d09c91932ed4
Attachment #8449212 - Flags: review?(mh+mozilla)
Attachment #8449212 - Flags: review?(mh+mozilla) → review+
Status: ASSIGNED → RESOLVED
Closed: 10 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: