delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/03/01/04:05:53

From: horst DOT kraemer AT t-online DOT de (Horst Kraemer)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: use NULL in c++
Date: Wed, 01 Mar 2000 08:10:00 GMT
Organization: T-Online
Lines: 16
Message-ID: <38bc4d3f.185767908@news.btx.dtag.de>
References: <38bbf095$0$85200 AT SSP1NO17 DOT highway DOT telekom DOT at>
Mime-Version: 1.0
X-Trace: news05.btx.dtag.de 951898201 27209 0306239354-0001 000301 08:10:01
X-Complaints-To: abuse AT t-online DOT de
X-Sender: 0306239354-0001 AT t-dialin DOT net
X-Newsreader: Forte Free Agent 1.11/32.235
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

On Tue, 29 Feb 2000 17:16:05 +0100, "Florian X" <dos DOT fire AT aon DOT at>
wrote:

> If I use NULL in c++, the compiler prints me this error:
> 
> dc.cc:167: ANSI C++ forbids implicit conversion from `void *' in argument
> passing

Probably (if you don't include non-Standard headers or #defined NULL
yourself) it means that your C++ compiler is broken.

Please show line 167.

Regards
Horst

- Raw text -


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