BUG: C1001 Generated Using typedef for Member FunctionsLast reviewed: December 15, 1995Article ID: Q116442 |
The information in this article applies to:
SYMPTOMSWhen you compile C++ code that uses a typedef for member functions:
RESOLUTIONTo work around this problem, do one of the following:
STATUSMicrosoft has confirmed this to be a bug in the products listed at the beginning of this article. We are researching this bug and will post new information here in the Microsoft Knowledge Base as it becomes available.
MORE INFORMATIONYou can use the following sample code to demonstrate this problem. If one of the workarounds is used, then the error message generated is:
error C2511: 'memberFunc' : overloaded member function not found in 'CClassName' Sample Code
/* Compile options needed: /Fr or /FR */ typedef void VOIDFUNC(void); class CClassName { VOIDFUNC memberFunc; }; void CClassName::memberFunc(void) { } |
Additional reference words: 7.00 8.00 8.00c 9.00 1.00 1.50 2.00 noupdate
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |