The information in this article applies to:
SYMPTOMSThe compiler generates the following error when you type cast a 'const float' or 'const double' to 'const int' in an array declarator:
RESOLUTIONTo work around this problem, use a #defined double value in place of a const double. See the "Workaround Sample Code" section for an example. STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available. MORE INFORMATIONSample Code to Demonstrate Problem
Workaround One - Sample Code
Workaround Two - Sample Code
Additional query words: kbVC400bug
Keywords : kbCompiler kbCPPonly kbVC kbVC500bug |
Last Reviewed: February 3, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |