[Insight-users] Q: internal compiler error

Yasheng Chen yasheng_chen at med . unc . edu
Mon, 07 Jul 2003 12:23:00 -0400


Hi, Thank you all very much for the comments ! Guess what is amazing 
and weird with the problem ? Julien Jomier at UNC told me to switch the 
order of the includes, it solves the problem ( I have no idea how he 
figured it out ).

Thanks again !

Yasheng

----- Original Message -----
From: "Robert Tamburo" <rjtst21 at pitt . edu>
Date: Monday, July 7, 2003 11:38 am
Subject: Re: [Insight-users] Q: internal compiler error

> I had the same issue a few months ago.  My temporary fix was:
> 
> Commenting out the following lines of code in itkConceptChecking.h
> 
> //template <int> struct UniqueType_int {};
> //template <unsigned int> struct UniqueType_unsigned_int {};
> 
> /*
>  struct Constraints
>  {
>    typedef Detail::UniqueType_unsigned_int<D1> DT1;
>    typedef Detail::UniqueType_unsigned_int<D2> DT2;
>    void constraints()
>      {
>        DT1 a =3D DT2();
>        Detail::IgnoreUnusedVariable(a);
>      }
>  };
>  itkConceptConstraintsMacro();
> */
> 
> 
> 
> ----- Original Message ----- 
> From: "Luis Ibanez" <luis . ibanez at kitware . com>
> To: "Yasheng Chen" <yasheng_chen at med . unc . edu>
> Cc: <insight-users at itk . org>
> Sent: Monday, July 07, 2003 10:52 AM
> Subject: Re: [Insight-users] Q: internal compiler error
> 
> 
> >
> > Hi Yasheng,
> >
> > You may have a compiler installation problem.
> >
> > ITK version 1.2 was built regularly with VC++ 6.0
> > without ICE problems.
> >
> > I would suggest you to verify that installation
> > of your compiler as well as the installation of
> > service pack 5.
> >
> > In order to double check whether the source of the
> > problem is your compiler or not, you could also
> > download the current CVS version of the toolkit,
> > for which you can verify the builds on the Dashboard.
> >
> http://www . itk . org/Testing/Dashboard/MostRecentResults-
> Nightly/Dashboard.html>
> >
> >
> > Regards,
> >
> >
> >     Luis
> >
> >
> > -----------------------
> > Yasheng Chen wrote:
> > > Hi,
> > >
> > > I got an error message (see below) when I include the header
> > > file "itkCastImageFilter.h".
> > >
> > > C:\itkdownload\InsightToolkit-
> 1.2.0\Code\Common\itkConceptChecking.h> > (96) : fatal error 
> C1001: INTERNAL COMPILER ERROR
> > >         (compiler file 'msc1.cpp', line 1786)
> > >
> > > I have installed the service pack 5 for vc++, and the version 
> is 1.2.0.
> > > Does any one have suggestions of what may go wrong ?
> > >
> > > Thank you very much !
> > >
> > > Yasheng
> > >
> > > _______________________________________________
> > > Insight-users mailing list
> > > Insight-users at itk . org
> > > http://www . itk . org/mailman/listinfo/insight-users
> > >
> >
> >
> >
> > _______________________________________________
> > Insight-users mailing list
> > Insight-users at itk . org
> > http://www . itk . org/mailman/listinfo/insight-users
> >
> 
>