FIX: C4713: Internal Compiler Error, File reg86.c, line 2934Last reviewed: September 18, 1997Article ID: Q115529 |
1.00
WINDOWS
kbtool kbfixlist kbbuglist
The information in this article applies to:
SYMPTOMSThe use of global register allocation by the optimizing compiler in the sample code (in the "MORE INFORMATION" section, below) generates the following warning message and prevents the compiler from creating an object module:
test.c(16) : warning C4713: GetDlgFields: internal compiler error restarting (compiler file '@(#)reg86.c:1.26', line 2934) RESOLUTIONThere are three workarounds to this problem:
STATUSMicrosoft has confirmed this to be a problem in the Microsoft products listed above. This problem was corrected in Visual C++ version 1.5.
MORE INFORMATIONThe following sample code demonstrates this problem:
Sample Code
/* Compile options needed: /Oe /c */ #include <windows.h> #include <windowsx.h> #include <string.h> BOOL GetDlgFields (HWND hwnd, char *npRec) { int i, iLeft = 256, iLen; for (i = 0; i < 5; i++) { iLen = Edit_GetLine (hwnd, i, npRec, iLeft); if (strstr (npRec, "\r\n")) iLen -= 2; npRec += iLen; *npRec = '\t'; iLeft -= ++iLen; ++npRec; } return TRUE; } |
Additional reference words: 1.00 8.00
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |