Closed
Bug 1116367
Opened 9 years ago
Closed 9 years ago
MSVC2012 bustage - BaseAssembler-x86-shared.h(33) : fatal error C1083: Cannot open include file: 'inttypes.h': No such file or directory
Categories
(Core :: JavaScript Engine: JIT, defect)
Core
JavaScript Engine: JIT
Tracking
()
RESOLVED
FIXED
mozilla37
People
(Reporter: RyanVM, Assigned: sunfish)
References
Details
Attachments
(1 file)
912 bytes,
patch
|
Waldo
:
review+
RyanVM
:
feedback+
|
Details | Diff | Splinter Review |
10:24.37 c:/Users/Ryan/repos/mozilla-central/config/rules.mk:930: recipe for target 'RegExp.obj' failed 10:24.37 mozmake.EXE[5]: *** [RegExp.obj] Error 1 10:24.37 mozmake.EXE[5]: *** Waiting for unfinished jobs.... 10:24.65 CTypes.cpp 10:24.65 c:\users\ryan\repos\mozilla-central\js\src\jit/shared/BaseAssembler-x86-shared.h(33) : fatal error C1083: Cannot open include file: 'inttypes.h': No such file or directory
Flags: needinfo?(sunfish)
Assignee | ||
Comment 1•9 years ago
|
||
It appears we have "mozilla/MSIntTypes.h" which should be used here in place of <inttypes.h>. I'll submit a patch soon.
Assignee: nobody → sunfish
Flags: needinfo?(sunfish)
Comment 2•9 years ago
|
||
No. Use the cross-platform "mozilla/IntegerPrintfMacros.h" instead. The other is purely an implementation detail, not meant to be used directly.
Reporter | ||
Comment 3•9 years ago
|
||
Since MSVC2013 apparently does ship inttypes.h (given the lack of bustage in automation), should we consider changing this condition to _MSC_VER < 1800? http://mxr.mozilla.org/mozilla-central/source/mfbt/IntegerPrintfMacros.h#35
Reporter | ||
Comment 4•9 years ago
|
||
Nevermind, I see that's what MSIntTypes.h already does, though maybe it'd be more clear still having that logic in IntegerPrintfMacros.h instead.
Assignee | ||
Comment 5•9 years ago
|
||
Ah, thanks for the correction. Attached is a patch which uses IntegerPrintfMacros.h. I've verified that this passes check_spidermonkey_style.py.
Attachment #8542396 -
Flags: review?(jwalden+bmo)
Updated•9 years ago
|
Attachment #8542396 -
Flags: review?(jwalden+bmo) → review+
Reporter | ||
Comment 6•9 years ago
|
||
Comment on attachment 8542396 [details] [diff] [review] use-integerprintfmacros.patch Verified locally that this un-breaks my build :)
Attachment #8542396 -
Flags: feedback+
Assignee | ||
Comment 7•9 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/6f3a35d16540
https://hg.mozilla.org/mozilla-central/rev/6f3a35d16540
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla37
You need to log in
before you can comment on or make changes to this bug.
Description
•