VC++ bug

  • Thread starter Thread starter Steven Kobes
  • Start date Start date
S

Steven Kobes

C:\>type repro.c
main() { __wchar_t x; }

C:\>cl repro.c
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 13.10.3077 for 80x86
Copyright (C) Microsoft Corporation 1984-2002. All rights reserved.

repro.c
repro.c(1) : fatal error C1001: INTERNAL COMPILER ERROR
(compiler file 'msc1.cpp', line 2701)
Please choose the Technical Support command on the Visual C++
Help menu, or open the Technical Support help file for more information
 
C:\>type repro.c
main() { __wchar_t x; }

C:\>cl repro.c
repro.c
repro.c(1) : fatal error C1001: INTERNAL COMPILER ERROR
(compiler file 'msc1.cpp', line 2701)

Steven,

I can reproduce this when compiled as 'C' code with VS2003 but it
doesn't produce the C1001 when compiled as a C++ source.

The good news is that I can't reproduce this with the compiler
supplied with VS2005 B1 whether compiled for 'C' or C++.

Dave
 
Back
Top