www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/09/13/18:01:56

From: "Widder" <widder AT chollian DOT net>
Newsgroups: comp.os.msdos.djgpp
Subject: Operator definitio in DJGPP
Lines: 20
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2014.211
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211
Message-ID: <lGSv5.7$c24.2300@news2.bora.net>
Date: Wed, 13 Sep 2000 21:52:17 GMT
NNTP-Posting-Host: 164.124.179.46
X-Trace: news2.bora.net 968881937 164.124.179.46 (Thu, 14 Sep 2000 06:52:17 KST)
NNTP-Posting-Date: Thu, 14 Sep 2000 06:52:17 KST
Organization: Dacom
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

In DJGPP I get the following error message.

    --> color& operator+ (const color &,const color &);

this line results in the error message

    --> must take either zero or one argument.

I have no problem, if I change the definition to

    --> color& operator+ (const color &);

This is of course not what I what. Does anybody have an idea
where my problem is.

Thanks in advance

Johannes Widder


- Raw text -


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