Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!LURCH.STANFORD.EDU!tiemann From: tiemann@LURCH.STANFORD.EDU (Michael Tiemann) Newsgroups: gnu.g++.bug Subject: hp9k320g problems with g++ 1.36.0- Message-ID: <8910142218.AA07490@lurch.Stanford.EDU> Date: 14 Oct 89 22:18:11 GMT References: <8910142135.AA13762@labgre.HP.COM> Sender: daemon@tut.cis.ohio-state.edu Reply-To: tiemann@lurch.stanford.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 31 3 problems here. Problem 1: ============ When compiling toplev.c I received errors complaining that _bufsiz was not a member of the structure. Changing the code to use the _bufsiz() macro defined in stdio.h seemed to make everything happy. Problem 2: ============ g++ seems to give an error when compiling member functions which have null bodies: class Grok { int i; public: Grok(int j) { i=j; }; ~Grok() {}; korg() {}; }; There is no _bufsiz macro on Suns, so we need a solution which works for both. Also, GNU C++ on Suns does not have any problem with empty member functions, so there is some problem with GNU C++ when it is run under HP-UX. I would look for the problem in cplus-lex.c. If somebody has a fix, I will merge it in. Michael