Closed dfreniche closed 12 years ago
Hmmm - something is wrong - iOS and Mac have asprintf - that define is for other systems. Any idea why HAVE_ASPRINTF is NOT 1? Otherwise I don't mind changing it...I'm just curious why this is even a problem.
OK - fixed - that define was recently added to libxls and was not in the pre-canned config.h I was using for this project. All fixed in github now.
File: xlstool.c
Problem: asprinft is declared as static, but previous declaration (in stdio.h) is not static. In stdio.h is declared as: int asprintf(char *, const char , ...) DARWIN_LDBL_COMPAT(asprintf) printflike(2, 3);
But in xlstool.c is declared as:
Proposed fix: make it non static