delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/02/29/12:53:37

From: "Marcus" <mesthlm AT hem DOT passagen DOT se>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: use NULL in c++
Date: Tue, 29 Feb 2000 18:03:53 +0100
Organization: Telenordia
Lines: 30
Message-ID: <89gu9b$ftk$1@cubacola.tninet.se>
References: <38bbf095$0$85200 AT SSP1NO17 DOT highway DOT telekom DOT at>
NNTP-Posting-Host: 193.150.200.251
X-Trace: cubacola.tninet.se 951843947 16308 193.150.200.251 (29 Feb 2000 17:05:47 GMT)
X-Complaints-To: abuse AT algo DOT net
NNTP-Posting-Date: 29 Feb 2000 17:05:47 GMT
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2919.6600
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

try
#define NULL 0
or use zero instead of NULL

Return and tell more then...

--
/regards Marcus

Hi, I'm a signature virus. plz set me as your signature and help me spread
:)

"Florian X" <dos DOT fire AT aon DOT at> skrev i meddelandet
news:38bbf095$0$85200 AT SSP1NO17 DOT highway DOT telekom DOT at...
> Hi!
>
> 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
>
> What should I do?
>
> Thanks, Florian Xaver
>
>
>
>


- Raw text -


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