Closed
Bug 888158
Opened 11 years ago
Closed 11 years ago
Make configure to detect Visual Studio 2013 compiler
Categories
(Firefox Build System :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla25
People
(Reporter: xavier114fch, Assigned: xavier114fch)
References
Details
Attachments
(1 file, 1 obsolete file)
5.47 KB,
patch
|
Details | Diff | Splinter Review |
I have hacked some of the configure files to detect the compiler from Visual Studio 2013 (VC12). See if this is helpful.
Assignee | ||
Comment 1•11 years ago
|
||
Updated•11 years ago
|
Attachment #768771 -
Flags: review?(ted)
Updated•11 years ago
|
Assignee: nobody → xavier114fch
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 2•11 years ago
|
||
Comment on attachment 768771 [details] [diff] [review] Patch for VS2013 Review of attachment 768771 [details] [diff] [review]: ----------------------------------------------------------------- ::: browser/installer/removed-files.in @@ +1448,5 @@ > + msvcr120.dll > + #ifdef MOZ_METRO > + vccorlib120.dll > + #endif > + #endif nit: trailing whitespace ::: configure.in @@ +500,5 @@ > + elif test "$_CC_MAJOR_VERSION" = "18"; then > + _CC_SUITE=12 > + _MSVS_VERSION=2013 > + AC_DEFINE(_CRT_SECURE_NO_WARNINGS) > + AC_DEFINE(_CRT_NONSTDC_NO_WARNINGS) nit: trailing whitespace While you're here, how about moving the AC_DEFINEs outside of the if blocks, since they're defined for all versions of MSVC we support now? ::: js/src/configure.in @@ +494,5 @@ > AC_DEFINE(_CRT_NONSTDC_NO_WARNINGS) > + elif test "$_CC_MAJOR_VERSION" = "18"; then > + _CC_SUITE=12 > + AC_DEFINE(_CRT_SECURE_NO_WARNINGS) > + AC_DEFINE(_CRT_NONSTDC_NO_WARNINGS) same comment here as the other configure.in.
Attachment #768771 -
Flags: review?(ted) → review+
Comment 3•11 years ago
|
||
Thanks for the patch!
Assignee | ||
Comment 4•11 years ago
|
||
Attachment #768771 -
Attachment is obsolete: true
Comment 5•11 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/a52babf286bc
Target Milestone: --- → mozilla25
Comment 6•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/a52babf286bc
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Updated•6 years ago
|
Product: Core → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•