X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f From: Raf256 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: NNTP-Posting-Host: chello062179025129.chello.pl Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: 8bit 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 ## :( ######################### | `\|_| | |_,,_||_| ###############################################