Date: Mon, 11 Oct 1999 19:02:21 +0200 (IST) From: Eli Zaretskii 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: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 Precedence: bulk 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?