Closed Bug 665402 Opened 14 years ago Closed 14 years ago

Dehydra fails to build with gcc 4.6

Categories

(Developer Infrastructure :: Source Code Analysis, defect)

All
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: glandium, Assigned: glandium)

Details

Attachments

(1 file)

The error messages are: dehydra_builtins.c: In function 'ReadFile': dehydra_builtins.c:351:30: error: attempt to use poisoned "strerror" dehydra_builtins.c: In function 'WriteFile': dehydra_builtins.c:376:30: error: attempt to use poisoned "strerror" dehydra_builtins.c: In function 'dehydra_loadScript': dehydra_builtins.c: In function 'ResolvePath': dehydra_builtins.c:571:26: error: attempt to use poisoned "strerror" This comes from http://gcc.gnu.org/ml/gcc-patches/2010-05/msg02226.html and http://gcc.gnu.org/ml/gcc-patches/2010-11/msg02184.html. Replacing with xstrerror solves the problem.
Attached patch PatchSplinter Review
Assignee: nobody → mh+mozilla
Attachment #540374 - Flags: review?(tglek)
Attachment #540374 - Flags: review?(tglek) → review+
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Product: Core → Firefox Build System
Product: Firefox Build System → Developer Infrastructure
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: