maxicode.c and code1.c include malloc.h, which is not necessary on Linux and BSDs (replaced with stdlib). Actually, BSDs will generate a compilation error. If you look at the other symbologies, they only include malloc.h if MSCVER is defined.
code1.c doesn't use alloca
maxicode.c uses stack if MSCVER is not defined. Otherwise, alloca
Thanks in advance
Thank you for the ticket!
The two named files "maxicode.c" and "code1.c" do something special for apple::
I removed all references to malloc.h in code1.c and maxicode.c: For Linux, they are not necessary. For Windows, they are not used. The Apple thing feels strange to me, as it should be in all files but not only in two of them.
Is commit [90407b] ok for you ?
Thank you for testing, I only checked on Windows
Harald
Related
Commit: [90407b]
Thanks for the quick turn around. I was able to compile your fix on Linux,
OpenBSD and FreeBSD.
Not a biggie, but you might want to consider adding const to is_sane()
test_sting in common.c/common.h.
On Sun, Apr 3, 2016 at 2:36 PM, Harald Oehlmann oehhar@users.sf.net wrote:
Related
Tickets:
#18Commit: [90407b]
Verified by Marc. Thank you. Closed.
Harald
some const including the proposed added in commit [0fcf4c]
Related
Commit: [0fcf4c]