delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/02/29/11:54:17

From: "Florian X" <dos DOT fire AT aon DOT at>
Newsgroups: comp.os.msdos.djgpp
Subject: use NULL in c++
Date: Tue, 29 Feb 2000 17:16:05 +0100
X-Newsreader: Microsoft Outlook Express 4.71.1712.3
X-MimeOLE: Produced By Microsoft MimeOLE V4.71.1712.3
Lines: 14
Message-ID: <38bbf095$0$85200@SSP1NO17.highway.telekom.at>
NNTP-Posting-Host: 212.183.87.187
X-Trace: newsreader.vienna.highway.telekom.at 951840917 85200 212.183.87.187
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

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