[Debian-med-packaging] Bug#1066334: Redefinition of _Int (Was: acedb: FTBFS: acein.c:2045:15: error: implicit declaration of function ‘add_history’ [-Werror=implicit-function-declaration])

Nilesh Patra nilesh at riseup.net
Sun Sep 29 15:47:21 BST 2024


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



More information about the Debian-med-packaging mailing list