Re: [Help] f2j: ftbfs with GCC-10
HI Andreas,
On Wed, Aug 12, 2020 at 8:10 AM Andreas Tille <andreas@an3as.eu> wrote:
>
> Control: tags -1 help
>
> Hi,
>
> I think I've fixed part of the problem in Git[1]. Unfortunately there is a
> remainig "multiple definition" issue where I have no idea how to fix it:
Try the attached patch.
--
Regards
Sudip
--- f2j-0.8.1+dfsg.orig/src/optimize.c
+++ f2j-0.8.1+dfsg/src/optimize.c
@@ -46,7 +46,7 @@
int optdebug = FALSE;
-char *unit_name; /* name of this function/subroutine */
+extern char *unit_name; /* name of this function/subroutine */
/*****************************************************************************
* Function prototypes: *
Reply to: