[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] AHCC regression from math.h update (in v4.9)



Hi,

On tiistai 20 maaliskuu 2012, Henk Robbers wrote:
> There is a new version available on my home page (see sig)

I tried this and noticed that Ballerburg doesn't compile anymore.
I tracked the issue to math.h change in v4.9.

AHCC gives now bogus warnings if code uses variables named
like "ge", "mod"...

Error   in C:\BALLER\BALLER.H L84 syntax on declarator at '>='
Error   in C:\BALLER\BALLER.H L84 global declaration missing ';' at [
Error   in C:\BALLER\BALLER.H L84 declaration  needs ID
Error   in C:\BALLER\BALLER.H L0 no declarator for : 'int'
Error   in C:\BALLER\BALLER.H L88 syntax on declarator at '%'
Error   in C:\BALLER\BALLER1.C L25 syntax on declarator at '>='
Error   in C:\BALLER\BALLER1.C L25 global declaration missing ';' at [
Error   in C:\BALLER\BALLER1.C L25 declaration  needs ID
Error   in C:\BALLER\BALLER1.C L0 no declarator for : 'int'

Line 84 in baller.h looks like this:
extern short bur[2],bx[2],by[2], pu[2],ku[2],vo[2],st[2],kn[2],ge[2],
      wx[2], wy[2], ws, wc, *bg, zug, nk, p[6],
      f_h, *burgen[20], b_anz;


	- Eero