Issue 153: MSVC Internal compiler error
Status:  WontFix
Owner: ----
Closed:  Feb 2013
Reported by ncanna...@gmail.com, Dec 1, 2011
Compiling the format.png.Writer class with HXCPP/MSVC make an internal compiler error.

It seems to come from this line :

var b = new haxe.io.BytesOutput();
....
b.writeByte(switch( h.color ) {
  case ColGrey(alpha): alpha ? 4 : 0;
  case ColTrue(alpha): alpha ? 6 : 2;
  case ColIndexed: 3;
});

Full sources :
http://hxformat.googlecode.com/svn/trunk/format/png/Writer.hx
Dec 15, 2011
Project Member #1 gameh...@gmail.com
I have made a change to avoid warning messages for these structures - maybe this help, but probably not.  What version of the compiler are you using? internal compiler error can often be fixed with patches from microsoft.
Feb 1, 2013
Project Member #2 gameh...@gmail.com
I'm leaving this one up to microsoft to fix, unless you have any better ideas.
Status: WontFix