delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2015/06/11/17:27:17

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
X-Recipient: djgpp AT delorie DOT com
X-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20120113;
h=mime-version:in-reply-to:references:date:message-id:subject:from:to
:content-type;
bh=sW6JjV/f6MMkntSAjDGtY7WGuOOK9WLC2nLwzIdtkHM=;
b=TqeSfGJawrM+6DPCkL6fsUj+AQGrWsZjTfdp5PH531q63JOV0wC2nmEEKfp/U+Qo9N
ZMhRX+Te670h6HC4vc34kiQ93nUiVhsj0omj6lG8WuMHdNXyYMS3znHaBr+RP8tsm+6X
pubjdYf+m8WnBGtwKfvrZ40RzFqB/DUIlBvENssA4SuvUbQ4ArrBZVTBKOJdWO4nj29Z
VwU29QWPowJ9VRHUz3KN7P5Eb91SwpUZJkpZd5DqsKmQ2Cb8uHpLLAvlEAduYigXezbh
wQK8uFs+6XS9yrP+nSfOIpH/4iR5OOt+SS5TSJdpiM1YfGf6lvGORMm75CYKfQzq/8SF
1Yxg==
MIME-Version: 1.0
X-Received: by 10.202.80.10 with SMTP id e10mr9156306oib.76.1434058026235;
Thu, 11 Jun 2015 14:27:06 -0700 (PDT)
In-Reply-To: <5579ED42.6070309@gmail.com>
References: <201506091712 DOT t59HCPci004068 AT delorie DOT com>
<557739E0 DOT 6070608 AT gmail DOT com>
<CAB9Rao93XrKFBpUDnZdjCz+rEXHGOU2RNKdou2oMLJOk802LnA AT mail DOT gmail DOT com>
<55775E64 DOT 2090901 AT gmail DOT com>
<CAB9Rao-Njdr-CB=vqHnb+TVDmXu3eXqsB5CHB7V0kDwBEsM-WQ AT mail DOT gmail DOT com>
<5579ED42 DOT 6070309 AT gmail DOT com>
Date: Thu, 11 Jun 2015 14:27:06 -0700
Message-ID: <CAB9Rao8cvu3hLEf=KsRWn7woXka0F9Aax7uM9Jj5QqCO=1bL8w@mail.gmail.com>
Subject: Re: DJGGP 2.05 upgrade problems.
From: "Louis Santillan (lpsantil AT gmail DOT com)" <djgpp AT delorie DOT com>
To: "djgpp AT delorie DOT com" <djgpp AT delorie DOT com>
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

Which gcc, binutils are you using? What about your CFLAGS?

I believe GCC 5+ is C11 by default where previous versions were C89
which is a bit stricter (or clearer) about corner cases of the
language.

On Thu, Jun 11, 2015 at 1:19 PM, Frank Sapone (emoaddict15 AT gmail DOT com)
<djgpp AT delorie DOT com> wrote:
> Hey guys, so I figured I might as well try to upgrade the Q2DOS project to
> DJGPP 2.05 (we're using 2.03!).  I would like to add DX3 support for
> loading/unloading game DLLs (a separate topic, but also curious if this will
> be possible)
>
> I made an entirely new DJGPP dir, got my paths all that, etc. setup properly
> and afaik I have all the required tools.  When I try to build I get this:
>
> In file included from F:/proj/q2dos/game/q_shared.h:40:0,
>                          from client../qcommon/qcommon.h:23,
>                          from client/ref.h:23,
>                          from client/client.h:30,
>                          from client/cl_input.c:22:
> f:/djgpp_205/include/time.h:126:16: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before 'unsigned'
>  _EXTERN_INLINE unsigned long long
>                                    ^
>
> Not sure what I'm missing here.  I also noticed find doesn't work properly
> to delete all the previous *.o files.  Whatever previous version of find I
> was using for 2.03 works fine.
> The way we were using it before is "find ./ -name '*.o' -exec rm {} \;".
> Now it spits out:
> rm : cannot remove './client/cl_cin.o' : No such file or directory (ENOENT).
>
> I am using Windows XP SP3 to compile if this helps.  Another reason for
> wanting to try out 2.05 is now the project is getting quite large and I'm
> getting this warning at link time:
>
> "warning: .text: line number overflow: 0x10029 > 0xffff".  I guess 2.03 has
> smaller limits for compiling a total project size?
>
> Thanks for everyones help, really looking forward to upgrading Q2DOS and my
> Q1/QW ports to 2.05 as well once the issues are ironed out.
>
> Frank

- Raw text -


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