delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1999/10/11/15:32:45

Date: Mon, 11 Oct 1999 19:02:21 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: pavenis AT lanet DOT lv
cc: djgpp-workers AT delorie DOT com
Subject: Re: xmalloc and xfree
In-Reply-To: <B0000104742@stargate.astr.lu.lv>
Message-ID: <Pine.SUN.3.91.991011185917.436B-100000@is>
MIME-Version: 1.0
Reply-To: djgpp-workers AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Mon, 11 Oct 1999 pavenis AT lanet DOT lv wrote:

> If You specify -ansi then -D__STRICT_ANSI__ is added to command 
> line of cpp

Is -ansi used by default by the C++ compiler in v2.95.1?  I understood 
previously that it was, but perhaps I misunderstood you, or confused 
-ansi with some other similar option.

> If You specify -fpedantic or -fpedantic-errors it's not added.

So what is the switch that triggers errors in C++ for functions without 
prototypes?  Is it -fpedantic-errors or something else?

- Raw text -


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