delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/12/07/13:30:17

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f
From: Raf256 <raf256 AT go2 DOT pl>
Newsgroups: comp.os.msdos.djgpp
Subject: class-key error under gcc 3.0.2
Date: 7 Dec 2001 18:18:22 GMT
Organization: aa
Lines: 17
Sender: raf256 AT poczta DOT onet DOT pl@chello062179025129.chello.pl
Message-ID: <Xns9170C4F7CAC97rfdfciasdsdj412tr@213.180.128.20>
NNTP-Posting-Host: chello062179025129.chello.pl
Mime-Version: 1.0
X-Trace: news.onet.pl 1007749102 20572 62.179.25.129 (7 Dec 2001 18:18:22 GMT)
X-Complaints-To: abuse AT onet DOT pl
NNTP-Posting-Date: 7 Dec 2001 18:18:22 GMT
User-Agent: Xnews/4.06.22
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

this line :
  void addDriver(int n, const char *NAME) {  
  modeDriver.add(cDYModeDriver(n,NAME)); }

gives under GCC 3.0.2 :
  d_crt.h(18) Error: friend declaration requires class-key, i.e. `friend
  class cTMPort'

Please help I can't include all file (2000 lines) - what does this error 
mean in general ?


-- 
Raf256 ##############################################################
,--, _  ,-   _  _  _  ###############################################
|,-'`_|_|_  `_||_'|_' # raf256 AT go2 DOT pl ## :( #########################
| `\|_| |   |_,,_||_| ###############################################

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019