PATCH dllwrap.c: Build error with GCC 3.5: static mismatch
Aaron W. LaFramboise
aaronrabiddog51@aaronwl.com
Sun Jul 11 06:20:00 GMT 2004
GCC gives an error about program_name in dllwrap.c conflicting with a
non-static version in bucomm.h. The following patch corrects this by
not making the global variable static.
Aaron W. LaFramboise
2004-07-09 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
* binutils/dllwrap.c (program_name): Remove static.
Index: src/binutils/dllwrap.c
===================================================================
RCS file: /cvs/src/src/binutils/dllwrap.c,v
retrieving revision 1.13
diff -c -3 -p -r1.13 dllwrap.c
*** src/binutils/dllwrap.c 14 Sep 2003 12:20:16 -0000 1.13
--- src/binutils/dllwrap.c 9 Jul 2004 08:51:00 -0000
*************** static target_type which_target = UNKNOW
*** 101,107 ****
static int dontdeltemps = 0;
static int dry_run = 0;
! static char *program_name;
static int verbose = 0;
--- 101,107 ----
static int dontdeltemps = 0;
static int dry_run = 0;
! char *program_name;
static int verbose = 0;
More information about the Binutils
mailing list