delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2007/08/03/12:49:09

X-Authentication-Warning: delorie.com: mail set sender to djgpp-workers-bounces using -f
Date: Fri, 3 Aug 2007 12:49:04 -0400
Message-Id: <200708031649.l73Gn4HL032422@envy.delorie.com>
From: DJ Delorie <dj AT delorie DOT com>
To: djgpp-workers AT delorie DOT com
In-reply-to: <200708031819.01856.juan.guerrero@gmx.de> (message from Juan
Manuel Guerrero on Fri, 3 Aug 2007 18:19:01 +0200)
Subject: Re: difficulty compiling strtol
References: <200708031819 DOT 01856 DOT juan DOT guerrero AT gmx DOT de>
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

> `-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
> cc1.exe: note: obsolete option -I- used, please use -iquote instead

These should be simple changes to gcc*.opt

-march is the ISA you want to be compatible with (i386 for us?)
-mtune is for performance tuning (pentium?)

> strtol.c: In function 'strtol':
> strtol.c:91: warning: pointer targets in assignment differ in signedness

's' is an "const unsigned char *" so it needs a cast to "const char *"

- Raw text -


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