delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2003/07/02/23:46:37

Message-ID: <000701c34115$a67aa500$0100a8c0@acp42g>
From: "Andrew Cottrell" <acottrel AT ihug DOT com DOT au>
To: "Richard Dawe" <rich AT phekda DOT freeserve DOT co DOT uk>
Cc: <djgpp-workers AT delorie DOT com>
Subject: GCC3.3 & src\libc\go32\goqmem.c latest build failure
Date: Thu, 3 Jul 2003 13:46:12 +1000
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Reply-To: djgpp-workers AT delorie DOT com

Richard,

In the changes that you did to src\libc\go32\goqmem.c a new function called
_go32_dpmi_get_free_memory_information was added, but this causes the file
to fail to build. This was not included in my patch for the file so I can
only assume that it was included from your file that you used to apply the
patch to before putting it in RCS. I am using a re-built GCC using the a
LIBC from two weekends ago.

If I look in dpmi.h it re-defines the function as follows which I suspect
causes the problem.
#define _go32_dpmi_get_free_memory_information(x)
__dpmi_get_free_memory_information((__dpmi_free_mem_info *)(x))

I do not know why the function was added because I checked dpmi.h and it has
not chnaged since  2003/2/4 20:23:14 so I assume that this was included by
mistake. I will remove it from my build and see what happens.


DJ204 D:\dj204\src\libc\go32>make
gcc ... -c goqmem.c
goqmem.c:7: error: parse error before '(' token
goqmem.c:7: error: parse error before ')' token
goqmem.c:12: warning: type defaults to `int' in declaration of `ret'
goqmem.c:12: error: `dpmi_info' undeclared here (not in a function)
goqmem.c:12: error: initializer element is not constant
goqmem.c:12: warning: data definition has no type or storage class
goqmem.c:13: error: parse error before '&' token
make.exe: *** [goqmem.o] Error 1



Thanks,
Andrew


- Raw text -


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