Dehydra fails to build with gcc 4.6

RESOLVED FIXED

Status

()

Core
Rewriting and Analysis
RESOLVED FIXED
6 years ago
6 years ago

People

(Reporter: glandium, Assigned: glandium)

Tracking

Trunk
All
Linux
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Assignee)

Description

6 years ago
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.
(Assignee)

Comment 1

6 years ago
Created attachment 540374 [details] [diff] [review]
Patch
Assignee: nobody → mh+mozilla
Attachment #540374 - Flags: review?(tglek)

Updated

6 years ago
Attachment #540374 - Flags: review?(tglek) → review+
(Assignee)

Comment 2

6 years ago
http://hg.mozilla.org/rewriting-and-analysis/dehydra/rev/359b2d82c80b
Status: NEW → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.