delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/10/11/10:37:28

Date: Mon, 11 Oct 1999 12:28:22 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Felix Natter <f DOT natter AT ndh DOT net>
cc: djgpp AT delorie DOT com
Subject: Re: xmalloc and xfree
In-Reply-To: <wkbta7v2tg.fsf@mail.ndh.net>
Message-ID: <Pine.SUN.3.91.991011122801.28307H-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On 10 Oct 1999, Felix Natter wrote:

> test2.cpp: In function `int main()':
> test2.cpp:4: implicit declaration of function `int xmalloc(...)'
> test2.cpp:5: implicit declaration of function `int xfree(...)'

This is a C++ program.  AFAIK, C++ doesn't permit functions without
prototypes.

Does this problem happen in a C program?

- Raw text -


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