Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / Managed C++ / October 2003

Tip: Looking for answers? Try searching our database.

C1001 INTERNAL COMPILER ERROR - VC7

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
CB - 31 Oct 2003 10:40 GMT
I'm upgrading our product from VC6 to the VC7 compiler and
came across the C1001 error:

fatal error C1001: INTERNAL COMPILER ERROR (compiler
file 'f:\vs70builds\3077\vc\Compiler\CxxFE\sl\P1
\C\toil.c', line 6931)

I've managed to reliably reproduce it using the few lines
of code below that does not use any of my own product code:

#import "c:\windows\system32\dxtmsft.dll" no_namespace

int main()
{
  float f;
  int i;

  IDXTRevealTrans *rev;
  //... initialise rev ...
  i = rev->Transition;    // int works
  i = (rev->Transition);  // int works
  f = rev->Duration;      // float works
  f = (rev->Duration);    // float fails!

  return 0;
}

Adding brackets around a the float property fails whilst
the int is fine with or without brackets.  Unfortunately I
cannot get away without using the brackets in the
particular bit of code in my product.  The only way I can
work around it is to use a temporary float variable as a
go-between.

Can someone give me an explanation or proper fix?
David Lowndes - 31 Oct 2003 13:53 GMT
>I'm upgrading our product from VC6 to the VC7 compiler and
>came across the C1001 error:

The same occurs with the 7.1 compiler too.

While this is of little help to you, the current C++ compiler for the
forthcoming Whidbey release does compile your code OK.

Dave
--
MVP VC++ FAQ: http://www.mvps.org/vcfaq

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.