Closed Bug 779372 Opened 13 years ago Closed 13 years ago

Compile error on Windows js shells involving zlib

Categories

(Core :: JavaScript Engine, defect)

Other Branch
All
Windows 7
defect
Not set
blocker

Tracking

()

VERIFIED FIXED
mozilla17

People

(Reporter: gkw, Assigned: Benjamin)

References

Details

Attachments

(2 files)

Attached file stdout
There is a compile error on Windows js shells involving zlib, see attached log.
This suggested patch by Benjamin over IRC does not work: diff -r 162b401d8774 js/src/jsutil.h --- a/js/src/jsutil.h Tue Jul 31 17:35:46 2012 -0700 +++ b/js/src/jsutil.h Tue Jul 31 17:43:50 2012 -0700 @@ -10,17 +10,19 @@ #ifndef jsutil_h___ #define jsutil_h___ #include "mozilla/Attributes.h" #include "js/Utility.h" +#ifdef USE_ZLIB #include "zlib.h" +#endif /* Forward declarations. */ struct JSContext; static JS_ALWAYS_INLINE void * js_memcpy(void *dst_, const void *src_, size_t len) { char *dst = (char *) dst_;
I used (with MozillaBuild and Visual Studio 2010): --disable-optimize --enable-debug --enable-methodjit --enable-type-inference --enable-more-deterministic --disable-tests The patch in bug 779393 does not fix this.
(In reply to Gary Kwong [:gkw, :nth10sd] from comment #1) > This suggested patch by Benjamin over IRC does not work: On further checking, the patch in comment 1 (in conjunction with the patch in bug 779393) does make it work. Something else in my harness is making it fail but that's out of the scope of this bug.
Assignee: general → bpeterson
Attachment #647829 - Flags: review?(jorendorff)
Attachment #647829 - Flags: review?(jorendorff) → review+
This should land as soon as possible once mozilla-inbound is reopened.
Keywords: checkin-needed
in-testsuite- because this fixes a compile error.
Flags: in-testsuite-
This was likely caused by bug 777190.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla17
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: