netpbm11-shlibs issues
Hisashi T Fujinaka <[email protected]> Wed, 25 Sep 2024 22:19:02 -0700 (PDT)
| Newsgroups | gmane.os.apple.fink.general |
|---|---|
| Message-ID | <[email protected]> |
Any idea why on Sequoia (that I've hacked to work) gives this error?
cc -no-cpp-precomp -c -I. -Iimportinc -Iimportinc/netpbm -I/opt/sw/src/fink.build/netpbm11-shlibs-11.07.01-1/netpbm-11.07.01/lib/util -DNDEBUG -I/opt/sw/include -fno-common -fPIC -O3 -ffast-math -pedantic -fno-common -Wall -Wno-uninitialized -Wmissing-declarations -Wimplicit -Wwrite-strings -Wmissing-prototypes -Wundef -Wno-unknown-pragmas -MD -o nstring.o nstring.c
nstring.c:78:10: error: call to undeclared function 'vasprintf'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
78 | rc = vasprintf((char **)&result, fmt, varargs);
| ^
nstring.c:78:10: note: did you mean 'vsprintf'?
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h:295:6: note: 'vsprintf' declared here
295 | int vsprintf(char * __restrict, const char * __restrict, va_list)
__printflike(2, 0);
| ^
1 error generated.
I see vasprintf in _stdio.h, but there's probably some ifdef I'm not seeing
right now.
--
Hisashi T Fujinaka - [email protected]
BSEE + BSChem + BAEnglish + MSCS + $2.50 = coffee
_______________________________________________
Fink-users mailing list
[email protected]
List archive:
https://sourceforge.net/p/fink/mailman/fink-users/
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users