Date: Tue, 14 Aug 2001 08:35:54 +0300 (WET) From: Andris Pavenis To: djgpp-workers AT delorie DOT com Cc: Mark E Subject: Patch for dxegen.c Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 ++;