[Insight-developers] Visual Studio 6 INTERNAL COMPILER ERROR

Robert Tamburo rjtst21@pitt.edu
Mon, 7 Apr 2003 16:43:11 -0400


This is a multi-part message in MIME format.

------=_NextPart_000_0007_01C2FD24.C6D20DA0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi all, in Visual Studio 6 I am getting a strange error when I try to =
include Header A in Header B. When I include Header A anywhere else, =
everything is fine:
D:\Insight\Code\Common\itkConceptChecking.h(96) : fatal error C1001: =
INTERNAL COMPILER ERROR
        (compiler file 'msc1.cpp', line 1794)=20
         Please choose the Technical Support command on the Visual C++=20
         Help menu, or open the Technical Support help file for more =
information

The error points to the last line of the following block of code from =
itkConceptChecking.h
/**=20
 * Some concept implementation details are adapted from the BOOST C++
 * libraries (www.boost.org).  These are marked with "(BOOST)" in the
 * corresponding comment.
 */
/** Namespace containing concept check implementation details. */
namespace Detail
{
template <typename T> struct UniqueType {};
template <int> struct UniqueType_int {};

I did a search on Google and noticed that this error with msc1.cpp seems =
to be  a fairly common and random error. However, I fell upon this link =
at boost.org:  http://lists.boost.org/MailArchives/boost/msg36520.php

I also found this thread from the itk users list, but  I have SP 5.
http://www.itk.org/pipermail/insight-users/2002-February/000100.html

Any ideas about what is going on? Is there some sort of error =
propogation from Boost to itkConceptChecking.h? Any known fixes?

Thanks,
Robert
------=_NextPart_000_0007_01C2FD24.C6D20DA0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1141" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hi all, in Visual Studio 6 I am getting =
a strange=20
error when I try to include Header A in Header B. When I include Header =
A=20
anywhere else, everything is=20
fine:<BR>D:\Insight\Code\Common\itkConceptChecking.h(96) : fatal error =
C1001:=20
INTERNAL COMPILER ERROR<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
(compiler=20
file 'msc1.cpp', line 1794) =
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
Please choose the Technical Support command on the Visual C++=20
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Help menu, or open =
the=20
Technical Support help file for more information</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>The error points to the last line of =
the following=20
block of code from itkConceptChecking.h<BR>/** <BR>&nbsp;* Some concept=20
implementation details are adapted from the BOOST C++<BR>&nbsp;* =
libraries (<A=20
href=3D"http://www.boost.org">www.boost.org</A>).&nbsp; These are marked =
with=20
"(BOOST)" in the<BR>&nbsp;* corresponding comment.<BR>&nbsp;*/<BR>/** =
Namespace=20
containing concept check implementation details. */<BR>namespace=20
Detail<BR>{<BR>template &lt;typename T&gt; struct UniqueType =
{};<BR>template=20
&lt;int&gt; struct UniqueType_int {};</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I did a search on Google and noticed =
that this=20
error with msc1.cpp seems to be&nbsp; a fairly common and random error. =
However,=20
I fell upon this link at boost.org:&nbsp; <A=20
href=3D"http://lists.boost.org/MailArchives/boost/msg36520.php">http://li=
sts.boost.org/MailArchives/boost/msg36520.php</A></FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I also found this thread from the itk =
users list,=20
but&nbsp; I have SP 5.<BR><A=20
href=3D"http://www.itk.org/pipermail/insight-users/2002-February/000100.h=
tml">http://www.itk.org/pipermail/insight-users/2002-February/000100.html=
</A></FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Any ideas about what is going on? Is =
there some=20
sort of error propogation from Boost to itkConceptChecking.h? Any known=20
fixes?</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial =
size=3D2>Thanks,<BR>Robert</FONT></DIV></BODY></HTML>

------=_NextPart_000_0007_01C2FD24.C6D20DA0--