[gnu.g++.lib.bug] genclass

chowkwan@aero.org (Raymond Chowkwanyun) (01/18/90)

I'm trying to use the genclass script so I can use the VHMap
class.  The .cc and .h files generated by genclass seem to
be inconsistent.  I call genclass as follows:

>genclass -2 String ref PCNModulep val VHMap

The problems I get when I compile are:

1. String.PCNModulep.VHMap.h has an include directive
   for String.PCNModulep.Map.h but this file was not created
   by genclass.  What is supposed to be in String.PCNModulep.Map.h?

2. String.PCNModulep.VHMap.cc expects the class StringPCNModulepVHMap
   to have "def" and "count" fields but these are not defined in 
   String.PCNModulep.VHMap.h.

i.e. there seem to be some inconsistencies between the .cc and .h
files that result after running genclass.  

Background Data:

g++ version 1.36.1 based on gcc 1.36.
I don't have version numbers for genclass, the VHMap prototypes,
and libg++ but they were distributed at the same time as g++.

sparcstation 1 running OS 4.0.3c.

-- ray