jsfun.h uses JSArenaPool without needed typename

RESOLVED FIXED in mozilla1.9

Status

()

Core
JavaScript Engine
RESOLVED FIXED
10 years ago
10 years ago

People

(Reporter: glandium, Assigned: glandium)

Tracking

Trunk
mozilla1.9
Points:
---
Bug Flags:
in-testsuite -
in-litmus -

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment, 1 obsolete attachment)

(Assignee)

Description

10 years ago
Created attachment 317887 [details] [diff] [review]
patch

All is in the summary
Attachment #317887 - Flags: review?(shaver)
Rather than over-include where there's only an opaque typename dependency, use struct JSArena in the C function prototype.

/be
(Assignee)

Comment 2

10 years ago
Created attachment 317895 [details] [diff] [review]
patch

Like this?
Attachment #317887 - Attachment is obsolete: true
Attachment #317895 - Flags: review?(brendan)
Attachment #317887 - Flags: review?(shaver)
Comment on attachment 317895 [details] [diff] [review]
patch

Looks good, can await js1.8src (after mozilla1.9/fx3), although it is harmless to take sooner.

/be
Attachment #317895 - Flags: review?(brendan) → review+
Mike, did this bite a private or "friend" app that #includes jsfun.h? Just curious what that is.

/be
Blocks: 428420
(Assignee)

Comment 5

10 years ago
A "friend" app: http://search.cpan.org/dist/JavaScript/

It had other problems, which I fixed with the following patch:
http://bugs.debian.org/cgi-bin/bugreport.cgi?msg=5;filename=diff;att=1;bug=478064
Assignee: general → mh+mozilla
Comment on attachment 317895 [details] [diff] [review]
patch

Simple one keyword addition patch that fixes a build issue for some users of the js engine.
Attachment #317895 - Flags: approval1.9?
Comment on attachment 317895 [details] [diff] [review]
patch

a1.9+=damons
Attachment #317895 - Flags: approval1.9? → approval1.9+
Hope I correctly resummarized this bug.

Checking in js/src/jsfun.h;
/cvsroot/mozilla/js/src/jsfun.h,v  <--  jsfun.h
new revision: 3.65; previous revision: 3.64
done
Status: NEW → RESOLVED
Last Resolved: 10 years ago
Resolution: --- → FIXED
Summary: jsfun.h uses JSArenaPool without including jsarena.h → jsfun.h uses JSArenaPool without needed typename
Target Milestone: --- → mozilla1.9

Updated

10 years ago
No longer blocks: 428420

Updated

10 years ago
Blocks: 380236

Updated

10 years ago
No longer blocks: 380236

Updated

10 years ago
Blocks: 428420

Updated

10 years ago
Flags: in-testsuite-
Flags: in-litmus-
You need to log in before you can comment on or make changes to this bug.