[Debian-med-packaging] Bug#1066334: Aw: Re: Redefinition of _Int (Was: acedb: FTBFS: acein.c:2045:15: error: implicit declaration of function ‘add_history’ [-Werror=implicit-function-declaration])
Steffen Möller
steffen_moeller at gmx.de
Tue Oct 8 09:32:11 BST 2024
I had a look at what happened to AceDB and it seems like it is now hosted on
https://github.com/ncbi/AceView/blob/master/w9/dotter.c
at least the dotter application that is. I find that tool of high (and underrated)
educational and practical value and would not want to miss that.
I will not get around comparing the source trees for an unforseeable future, though.
Best,
Steffen
> Gesendet: Sonntag, 29. September 2024 um 16:47
> Von: "Nilesh Patra" <nilesh at riseup.net>
> An: 1066334 at bugs.debian.org, "Debian Mentors List" <debian-mentors at lists.debian.org>
> Betreff: Re: Redefinition of _Int (Was: acedb: FTBFS: acein.c:2045:15: error: implicit declaration of function ‘add_history’ [-Werror=implicit-function-declaration])
>
> <html><head></head><body>Hi
>
> I noticed the enum and the functions associated with the enum are
> unused. You could just simply patch them out.
> There are more errors after that though.
>
> --
> Quoting Andreas Tille:
> H again,
>
> Am Sun, Apr 14, 2024 at 07:17:41AM +0200 schrieb Andreas Tille:
> > Am Sat, Apr 13, 2024 at 10:46:17PM +0100 schrieb Jeremy Sowden:
> > >
> > > The one after this looks like a GTK problem, and that's the point at
> > > which I bow out.
>
> I was able to fix some more missing declaration issues (which luckily
> did
> not were connected to GTK) but I'm now stumbling upon:
>
> ...
> In file included from disknew.c:85:
> ../whooks/systags.h:57:15: error: expected identifier before numeric
> constant
> 57 | #define _Int 24
> | ^~
> ../wh/acetypes.h:36:16: note: in expansion of macro '_Int'
> 36 | typedef enum { _Int, _Text, _Float, _DateType, _Key, _Tag }
> AceType;
> | ^~~~
> ...
>
>
> which is caused by whooks/systags.h[2]
>
> ...
> #define _Int 24
> #define _Unsigned 25
> #define _Long 26 /* not supported */
> #define _Long_Unsigned 27 /* not supported */
> #define _Float 28
> ...
>
> Is there any trick I could use here instead of replacing these
> definitions by something else like _Int_acedb or so globally to get this
> build by modern compilers?
>
> Kind regards
> Andreas.
>
> [1] https://salsa.debian.org/med-team/acedb/-/jobs/5586407#L1893
> [2]
> https://salsa.debian.org/med-team/acedb/-/blob/master/whooks/systags.h?ref_type=heads#L57-61
>
> --
> https://fam-tille.de
>
> </body></html>
More information about the Debian-med-packaging
mailing list