classes visualizer

2007-03-28 Thread costin_c

Hello

What application/tool can show inheritance tree of C++ classes, or
list all classes from a source code, which g++ can compile without
errors or warnings ?


missing symbols

2007-06-18 Thread costin_c

In the following code, compiled with
g++   cls.cc -Wall -W -g3 -o cls

why only only virtual functions  f1, f2 and constructor is listed by nm.

Only debugging symbols for virtual functions are included in
executable output file ?

//cls.cc
#include 
using namespace std;

class test
{
public:
   int u;
   test(int t){u=t;};
   virtual void f1(){
   cout <

Re: missing symbols

2007-06-18 Thread costin_c

On 6/18/07, costin_c <[EMAIL PROTECTED]> wrote:

In the following code, compiled with
g++   cls.cc -Wall -W -g3 -o cls

why only only virtual functions  f1, f2 and constructor is listed by nm.

Only debugging symbols for virtual functions are included in
executable output file ?

//cls.cc
#include 
using namespace std;

class test
{
public:
int u;
test(int t){u=t;};
virtual void f1(){
cout <

Wierd assembler file, generated by "-S" parameter,  include all
information about test  class methods: test,f1,f2,f3

..
   .string "test::test"
   .long   0x5d40
   .string "test::f2"
   .long   0x5d70
   .string "test::f3"
   .long   0x5e4d
   .string "test::f1"
   .long   0x5e71
   .string "main"