delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2015/05/23/04:24:37

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=tslRZW2D6Tdx4N0PEvOw1jQF2o7mCz9NB0oT7y40DkE=;
b=SI6kdncVwJ4O5n+tegO0tnvBqpaACCQz86GyXoWELUbUEW3oaI8ySdw7p2MtyGKI4U
C1hzw0rtKmU/2trm7dERMiQJ0PCn2sbtR8Msqr5EHUJqRFyDowFcisYR+nDmGZAPiom2
+QnjfptYwg3BXhUdi4FoonnojypzGPoyp+AOJ/elp5d7feXpnLdPNZSsqIFzNnEfcl30
fvqu9Vl7jOL7Vi+h9m+PL02Rzj/gxVqsRZ1zXwAGiGM1wanBgfHU53Sk1be9I97t/xy0
2VI2hFUecWr521zTiU8orLPD44297hiUiCNG25HZVcYXL6I9MNV1M+JIP1ak63xE6Hod
ni3w==
MIME-Version: 1.0
X-Received: by 10.50.78.100 with SMTP id a4mr10652723igx.34.1432369471055;
Sat, 23 May 2015 01:24:31 -0700 (PDT)
In-Reply-To: <201505042003.t44K3odg011007@delorie.com>
References: <201505042003 DOT t44K3odg011007 AT delorie DOT com>
Date: Sat, 23 May 2015 11:24:30 +0300
Message-ID: <CAA2C=vAJ9XULi9FDfawBB64CzmKzV37tj5Gay5uS5vb-D8+G4w@mail.gmail.com>
Subject: Re: ANNOUNCE: DJGPP 2.05 beta 1
From: "Ozkan Sezer (sezeroz AT gmail DOT com)" <djgpp AT delorie DOT com>
To: 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

Applied the following to sys/dxe.h:

* sys/dxe.h: change intptr_t usage with size_t so we can compile using
2.03-based toolchains

Index: include/sys/dxe.h
===================================================================
RCS file: /cvs/djgpp/djgpp/include/sys/dxe.h,v
retrieving revision 1.9
diff -u -r1.9 dxe.h
--- include/sys/dxe.h	17 May 2015 12:55:18 -0000	1.9
+++ include/sys/dxe.h	22 May 2015 22:08:41 -0000
@@ -10,7 +10,7 @@
 #ifndef __dj_include_dxe_h_
 #define __dj_include_dxe_h_

-#include <stdint.h>  /* for intptr_t */
+#include <stddef.h>  /* for size_t */

 /* the following are needed when cross compiling hostbin exes */
 #ifndef _DJ_DEFINED_NATIVE_TYPES
@@ -217,7 +217,7 @@
    dlregsym ((void *)&__alias__##name); \
   } \
   static __attribute_used dxe_symbol_table name [] = {
-#define DXE_EXPORT(symbol)	{ "_" #symbol, (void *)(intptr_t)&symbol },
+#define DXE_EXPORT(symbol)	{ "_" #symbol, (void *)(size_t)&symbol },
 #define DXE_EXPORT_END		{ 0, 0 }};

 /*

- Raw text -


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