Created attachment 197930 [details]
GCC treats const int as a variable and forbids creating arrays of a size of such variable.
Switch from const int to define to fix it.
Tested on powerpc64 and amd64.
Hardware sponsored by IntegriCloud.
Thank you for reporting this. I'm the upstream author and just ran into this bug as well. There should be a slightly different fix in the next day or so.
Upstream tracking https://bitbucket.org/ctuffli/smart/issues/9
Updated in version 0.0.11
A commit references this bug:
Date: Fri Oct 12 22:19:31 UTC 2018
New revision: 481943
sysutils/smart: Update to 0.0.11 and fix build on mips(64), powerpc
Reported by: firstname.lastname@example.org
Piotr, could you confirm that this works on mips, mips64, and powerpc64?
I do not have any of the hardware listed here to confirm the fix. Please re-open if it's still an issue.
(In reply to Joseph Mingrone from comment #6)
Sorry about that, I forgot about this bug!
Yes, it works on powerpc64.