VC++ bug

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
 
D

David Lowndes

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top