Closed
Bug 513208
Opened 15 years ago
Closed 15 years ago
Tracemonkey build failed on solairs at jsnum.h.
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
FIXED
Tracking | Status | |
---|---|---|
status1.9.2 | --- | beta1-fixed |
People
(Reporter: leon.sha, Assigned: leon.sha)
Details
Attachments
(1 file)
1.66 KB,
patch
|
gal
:
review+
|
Details | Diff | Splinter Review |
This bug happened after the fix for bug 513063 commited. "jsnum.h", line 98: Error: The function "finite" must have a prototype. "jsnum.h", line 109: Error: The function "isinf" must have a prototype. "jsnum.h", line 119: Error: The function "signbit" must have a prototype. "jsnum.h", line 141: Error: The function "signbit" must have a prototype.
Attachment #397237 -
Flags: review?(gal)
Updated•15 years ago
|
Attachment #397237 -
Attachment is patch: true
Attachment #397237 -
Attachment mime type: application/octet-stream → text/plain
Comment 2•15 years ago
|
||
Comment on attachment 397237 [details] [diff] [review] patch Thanks Leon!
Attachment #397237 -
Flags: review?(gal) → review+
Comment 3•15 years ago
|
||
Comment on attachment 397237 [details] [diff] [review] patch >diff --git a/js/src/jsnum.h b/js/src/jsnum.h > static inline int > JSDOUBLE_IS_NEGZERO(jsdouble d) > { > #ifdef WIN32 > return (d == 0 && (_fpclass(d) & _FPCLASS_NZ)); >+#elif defined(SOLARIS) >+ return (d == 0 && copysign (1, d) < 0); > #else > return (d == 0 && signbit(d)); > #endif > } There shouldn't be a space after copysign... > static inline int > JSDOUBLE_IS_NEG(jsdouble d) > { > #ifdef WIN32 > return JSDOUBLE_IS_NEGZERO(d) || d < 0; >+#elif defined(SOLARIS) >+ return copysign (1, d) < 0; > #else > return signbit(d); > #endif > } ...nor here either.
http://hg.mozilla.org/tracemonkey/rev/ec373946e8bf
Assignee: general → leon.sha
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Comment 5•15 years ago
|
||
http://hg.mozilla.org/mozilla-central/rev/ec373946e8bf
Comment 6•15 years ago
|
||
http://hg.mozilla.org/mozilla-central/rev/83a487ace308
Comment 7•15 years ago
|
||
http://hg.mozilla.org/releases/mozilla-1.9.2/rev/3629e873d586
status1.9.2:
--- → beta1-fixed
Flags: wanted1.9.2+
You need to log in
before you can comment on or make changes to this bug.
Description
•