[comp.lang.c++] Browsing with cbrowse

noren@dinl.uucp (Charles Noren) (07/27/90)

We ftp'ed the field environment of Brown University.
(ftp addr: 128.148.32.66).
We have run the browser on some sample code and it
looks like its quite useful.  However, I can't get
cbrowse to browse my simple program.
When I give it a simple executable with one class
it comes back with the statement "No class hierarchy
to display".  The header (.h) file is in the same
directory as the source (.c) file, and the field
environment is run from the same directory.  I also
notice that the XREF utility runs.  The compiled
program runs fine without any bugs.
I'm using g++, ver 1.37.0 (on a sun 3/260 SunOS 4.0.3,
which should not matter for the discussion).
Are there g++ compile and loader options that I need
to set?

Thanks,

-- 
Chuck Noren
NET:     dinl!noren@ncar.ucar.edu
US-MAIL: Martin Marietta I&CS, MS XL8058, P.O. Box 1260,
         Denver, CO 80201-1260
Phone:   (303) 971-7930

sdm@cs.brown.edu (Scott Meyers) (07/27/90)

In article <1673@dinl.mmc.UUCP> noren@dinl.UUCP (Charles Noren) writes:
| We ftp'ed the field environment of Brown University.
| (ftp addr: 128.148.32.66).
| We have run the browser on some sample code and it
| looks like its quite useful.  However, I can't get
| cbrowse to browse my simple program.
| When I give it a simple executable with one class
| it comes back with the statement "No class hierarchy
| to display".  The header (.h) file is in the same
| directory as the source (.c) file, and the field

I'm pretty sure the problem here is that FIELD didn't consider the
possibility that C++ source would be in .c files.  We use the extension .C
here.  Anyway, I'm fairly certain that bug has been fixed.  Write to
spr@cs.brown.edu to confirm that is has.  If it has, you'll probably want
to ftp the system again and rebuild.

Scott