Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!usc!elroy.jpl.nasa.gov!aero!chowkwan From: chowkwan@aero.org (Raymond Chowkwanyun) Newsgroups: gnu.g++.lib.bug Subject: genclass Message-ID: Date: 17 Jan 90 23:02:47 GMT Sender: news@aerospace.aero.org Distribution: gnu Organization: The Aerospace Corporation, El Segundo, CA Lines: 29 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