Closed Bug 761279 Opened 12 years ago Closed 12 years ago

VS 2012 RC compiler chokes on nsTArray's Init()

Categories

(Core :: XPCOM, defect)

x86_64
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla16

People

(Reporter: jimm, Assigned: jimm)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

crash:

f:\mozilla\firefox\elm-fx-dbg\dist\include\nsTArray.h(1322) : fatal error C1001: An internal error has occurred in the compiler.
(compiler file 'msc1.cpp', line 1444)
 To work around this problem, try simplifying or changing the program near the locations listed above.
Please choose the Technical Support command on the Visual C++
 Help menu, or open the Technical Support help file for more information
Internal Compiler Error in c:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\BIN\cl.exe.  You will be prompted to send an error report to Microsoft later.
Blocks: VC11
Is this in an optimized build?
Attached patch patchSplinter Review
This only happens in locations where we have component extensions enabled - new compiler functionality which seems to be a bit buggy. I played around with a number of variations, this was the most minimalist change I found.

What I'd like to do is land this on mc and file a follow up bug on testing with the final. If they have this fixed I would then back this change out.
Assignee: nobody → jmathies
Attachment #629893 - Flags: review?(benjamin)
(In reply to Ehsan Akhgari [:ehsan] from comment #1)
> Is this in an optimized build?

Nope, debug. I have yet to do a full release build. That's next.
Comment on attachment 629893 [details] [diff] [review]
patch

Please add a comment explaining why this is multiple steps so that people wonder why there's more spaghetti than necessary.
Attachment #629893 - Flags: review?(benjamin) → review+
Blocks: elm-merge
Blocks: 764362
https://hg.mozilla.org/mozilla-central/rev/7f07a489b92a
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla16
Depends on: 1290646
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: