Title: | C++ |
Notice: | Read 1.* and use keywords (e.g. SHOW KEY/FULL KIT_CXX_VAX_VMS) |
Moderator: | DECCXX::AMARTIN |
Created: | Fri Nov 06 1987 |
Last Modified: | Thu Jun 05 1997 |
Last Successful Update: | Fri Jun 06 1997 |
Number of topics: | 3604 |
Total number of notes: | 18242 |
T.R | Title | User | Personal Name | Date | Lines |
---|---|---|---|---|---|
2987.1 | CSC32::D_DERAMO | Dan D'Eramo, Customer Support Center | Fri Mar 29 1996 10:26 | 12 | |
2987.2 | Noted | DECCXX::AMARTIN | Alan H. Martin | Fri Mar 29 1996 10:54 | 11 |
2987.3 | CSC32::D_DERAMO | Dan D'Eramo, Customer Support Center | Fri Oct 18 1996 13:35 | 5 | |
2987.4 | CXXC::COLEEN | Wed Feb 12 1997 16:26 | 9 | ||
The problem with the compiler ACCVIO'ing instead of reporting a redeclaration error has been fixed in the latest development version of the compiler. The next release -v5.6 will contain the fix. Thanks for reporting the problem, Coleen Phillimore DEC C++ development | |||||
2987.5 | how to identify the problem? | CSC32::J_HENSON | Don't get even, get ahead! | Thu Apr 03 1997 11:23 | 16 |
I need a little help with this problem. I have read this note, 3132 and 3387. All are reporting the same error, as best I can tell. Also, as best I can tell, this error is caused by a bug in the code that is not being properly identified by the compiler. Fixing the bug makes the problem go away. However, it appears that in each case, the bug is a little different. Is this correct? If so, can someone provide some pointers as to what to look for in the code? If you're compiling a large program, and only know that there's something wrong with it, it really would help to know something(s) specific to look for. Thanks Jerry U.S. CSC | |||||
2987.6 | SPECXN::DERAMO | Dan D'Eramo | Thu Apr 03 1997 11:47 | 21 | |
If the problem is as described in .2 class C { int f; }; int C::f() { return 0; } then look for a class definition that left the parentheses out of a member function declaration... class MyClass // ... { // next line should be // return_type member_function_name(/* args, if any */); return_type member_function_name; // oops! no parens! }; ...followed by trying to define that member function... return_type MyClass::member_function_name() { /* ... */ } Dan |