[Insight-users] RE: Q: internal compiler error

Parag Chandra pchandra at radonc . unc . edu
Tue, 8 Jul 2003 12:11:08 -0400


This is a multi-part message in MIME format.

------=_NextPart_000_000F_01C3454A.0354C750
Content-Type: text/plain;
	charset="US-ASCII"
Content-Transfer-Encoding: 7bit

Hi Yasheng,

 

I get this problem all the time when using ITK (never had this problem when
compiling ITK itself). In every case, the fix is simply to change the order
of #include statements in your program/derived classes. Note that the
offending statement will many times not be in the source file that MSVC6 is
complaining about, so you'll have to trace upwards in your hierarchy and
fiddle with the #include ordering there. Hope this helps.

 

Best regards,

Parag Chandra

 


------=_NextPart_000_000F_01C3454A.0354C750
Content-Type: text/html;
	charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable

<html>

<head>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">


<meta name=3DGenerator content=3D"Microsoft Word 10 (filtered)">

<style>
<!--
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman";}
a:link, span.MsoHyperlink
	{color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{color:purple;
	text-decoration:underline;}
span.emailstyle17
	{font-family:Arial;
	color:windowtext;}
span.EmailStyle18
	{font-family:Arial;
	color:navy;}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
	{page:Section1;}
-->
</style>

</head>

<body lang=3DEN-US link=3Dblue vlink=3Dpurple>

<div class=3DSection1>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Hi Yasheng,</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>&nbsp;</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>I get this problem all the time when using ITK (never =
had
this problem when compiling ITK itself). In every case, the fix is =
simply to
change the order of #include statements in your program/derived classes. =
Note that
the offending statement will many times not be in the source file that =
MSVC6 is
complaining about, so you&#8217;ll have to trace upwards in your =
hierarchy and
fiddle with the #include ordering there. Hope this =
helps.</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>&nbsp;</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Best regards,</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Parag Chandra</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>&nbsp;</span></font></p>

</div>

</body>

</html>

------=_NextPart_000_000F_01C3454A.0354C750--