Thread View: gnu.g++.bug
1 messages
1 total messages
Started by Ron Guilmette
Sat, 22 Apr 1989 21:28
another missed warning in g++ 1.35.0 (pre-)
Author: Ron Guilmette
Date: Sat, 22 Apr 1989 21:28
Date: Sat, 22 Apr 1989 21:28
10 lines
705 bytes
705 bytes
When you compile the following with -Wall, you will
get a message like "warning: structure has no members".
If you make the destructor virtual however, you will no
longer get the warning. This seems inconsistant. I
believe that the message should be issued in either case.
class base {
~base () {}
};
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads