www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2001/06/09/16:15:05

Date: Sat, 09 Jun 2001 23:13:21 +0300
From: "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il>
Sender: halo1 AT zahav DOT net DOT il
To: ams AT ludd DOT luth DOT se
Message-Id: <1190-Sat09Jun2001231319+0300-eliz@is.elta.co.il>
X-Mailer: Emacs 20.6 (via feedmail 8.3.emacs20_6 I) and Blat ver 1.8.9
CC: djgpp-workers AT delorie DOT com
In-reply-to: <200106091726.TAA04653@mother.ludd.luth.se> (message from Martin
Str|mberg on Sat, 9 Jun 2001 19:26:07 +0200 (MEST))
Subject: Re: Compiler options for djdev build
References: <200106091726 DOT TAA04653 AT mother DOT ludd DOT luth DOT se>
Reply-To: djgpp-workers AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> From: Martin Str|mberg <ams AT ludd DOT luth DOT se>
> Date: Sat, 9 Jun 2001 19:26:07 +0200 (MEST)
> 
> What I'm saying is todigit() is declared before its use. todigit()
> expects a char as its argument (in the original code). Ok?
> 
> Why is gcc complaining? 
> 
> Because we used the flag -Wconversion. 

GCC is complaining because we asked it to with -Wconversion.  I think
-Wconversion is useful because it flags code that could break if small
changes are introduced into the code.

- Raw text -


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