delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/09/11/16:16:59

Date: Mon, 11 Sep 2000 10:00:27 +0200 (WET)
From: Andris Pavenis <pavenis AT lanet DOT lv>
To: AndrewJ <luminous-is AT home DOT com>
cc: djgpp AT delorie DOT com
Subject: Re: Warning : if (x=y)
In-Reply-To: <afelrschg9sb1dd01iktt3jnnivl6o86jn@4ax.com>
Message-ID: <Pine.A41.4.05.10009110957500.41154-100000@ieva06.lanet.lv>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com


On Sat, 9 Sep 2000, AndrewJ wrote:

>  To the OP, consider always using the -Wall and -ansi arguments for GCC.  And
> if you're really perverse, use -pedantic.  You'll find it will pick up on a lot
> of little things you may have missed, as well as forcing your code to be as
> portable as is possible.
> 

With gcc-2.95.2 -fpedantic-errors is default for C++ ...

- Raw text -


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