delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2001/08/14/01:52:36

Date: Tue, 14 Aug 2001 08:35:54 +0300 (WET)
From: Andris Pavenis <pavenis AT lanet DOT lv>
To: djgpp-workers AT delorie DOT com
Cc: Mark E <snowball3 AT bigfoot DOT com>
Subject: Patch for dxegen.c
Message-ID: <Pine.A41.4.05.10108140828530.59124-100000@ieva06.lanet.lv>
MIME-Version: 1.0
Reply-To: djgpp-workers AT delorie DOT com

Some time ago Mark suggested patch (below) to avoid gcc-3.0 related
problems with dxegen (some stuff incorrectly interpretted as 
unresolved symbols by dxegen). There were also related binutils
problem fixed now in DJGPP port of binutils-2.11.2. Anyway is it usefull
to apply it (I have done that for my builds already for some time)?

Andris

Index: dxegen.c
===================================================================
RCS file: /cvs/djgpp/djgpp/src/dxe/dxegen.c,v
retrieving revision 1.5
diff -p -3 -r1.5 dxegen.c
*** dxegen.c    2001/06/09 21:37:10     1.5
--- dxegen.c    2001/08/14 05:43:50
*************** int main(int argc, char **argv)
*** 186,192 ****
           name
           );
  #endif
!     if (sym[i].e_scnum == 0)
      {
        printf("Error: object contains unresolved external symbols
(%s)\n", name);
        errors ++;
--- 186,192 ----
           name
           );
  #endif
!     if (sym[i].e_sclass == C_EXT && sym[i].e_scnum == 0)
      {
        printf("Error: object contains unresolved external symbols
(%s)\n", name);
        errors ++;



- Raw text -


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