Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Call to undeclared function 'ZOPENDISK64'; ISO C99 and later do not support implicit function declarations #248

Open
SulemanAli303 opened this issue Nov 20, 2023 · 0 comments

Comments

@SulemanAli303
Copy link

CompileC /Users/sulemanali/Library/Developer/Xcode/DerivedData/Stack_Tracker-drzozvaxesdexhalletyqvnohzmo/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Zip.build/Objects-normal/arm64/zip-6984219fdae5f7ec15ff8e72e5f792d1.o /Users/sulemanali/Downloads/Stack\ Tracker/Pods/Zip/Zip/minizip/zip.c normal arm64 c com.apple.compilers.llvm.clang.1_0.compiler (in target 'Zip' from project 'Pods')
cd /Users/sulemanali/Downloads/Stack\ Tracker/Pods
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c -ivfsstatcache /Users/sulemanali/Library/Developer/Xcode/DerivedData/SDKStatCaches.noindex/iphonesimulator17.0-21A326-9f995cea1212cde75317d7d3cd2045e2.sdkstatcache -target arm64-apple-ios13.0-simulator -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -fno-color-diagnostics -std=gnu11 -fmodules -gmodules -fmodules-cache-path=/Users/sulemanali/Library/Developer/Xcode/DerivedData/ModuleCache.noindex -fmodules-prune-interval=86400 -fmodules-prune-after=345600 -fbuild-session-file=/Users/sulemanali/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/Session.modulevalidation -fmodules-validate-once-per-build-session -Wnon-modular-include-in-framework-module -Werror=non-modular-include-in-framework-module -fmodule-name=Zip -Wno-trigraphs -fpascal-strings -O0 -fno-common -Wno-missing-field-initializers -Wno-missing-prototypes -Werror=return-type -Wdocumentation -Wunreachable-code -Werror=deprecated-objc-isa-usage -Werror=objc-root-class -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wconditional-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wno-float-conversion -Wnon-literal-null-conversion -Wobjc-literal-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-implicit-fallthrough -DPOD_CONFIGURATION_DEBUG=1 -DDEBUG=1 -DCOCOAPODS=1 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator17.0.sdk -fstrict-aliasing -Wdeprecated-declarations -g -Wno-sign-conversion -Winfinite-recursion -Wcomma -Wblock-capture-autoreleasing -Wstrict-prototypes -Wno-semicolon-before-method-body -Wunguarded-availability -fprofile-instr-generate -fcoverage-mapping -index-store-path /Users/sulemanali/Library/Developer/Xcode/DerivedData/Stack_Tracker-drzozvaxesdexhalletyqvnohzmo/Index.noindex/DataStore -iquote /Users/sulemanali/Library/Developer/Xcode/DerivedData/Stack_Tracker-drzozvaxesdexhalletyqvnohzmo/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Zip.build/Zip-generated-files.hmap -I/Users/sulemanali/Library/Developer/Xcode/DerivedData/Stack_Tracker-drzozvaxesdexhalletyqvnohzmo/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Zip.build/Zip-own-target-headers.hmap -I/Users/sulemanali/Library/Developer/Xcode/DerivedData/Stack_Tracker-drzozvaxesdexhalletyqvnohzmo/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Zip.build/Zip-all-non-framework-target-headers.hmap -ivfsoverlay /Users/sulemanali/Library/Developer/Xcode/DerivedData/Stack_Tracker-drzozvaxesdexhalletyqvnohzmo/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Zip.build/all-product-headers.yaml -iquote /Users/sulemanali/Library/Developer/Xcode/DerivedData/Stack_Tracker-drzozvaxesdexhalletyqvnohzmo/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Zip.build/Zip-project-headers.hmap -I/Users/sulemanali/Library/Developer/Xcode/DerivedData/Stack_Tracker-drzozvaxesdexhalletyqvnohzmo/Build/Products/Debug-iphonesimulator/Zip/include -I/Users/sulemanali/Library/Developer/Xcode/DerivedData/Stack_Tracker-drzozvaxesdexhalletyqvnohzmo/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Zip.build/DerivedSources-normal/arm64 -I/Users/sulemanali/Library/Developer/Xcode/DerivedData/Stack_Tracker-drzozvaxesdexhalletyqvnohzmo/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Zip.build/DerivedSources/arm64 -I/Users/sulemanali/Library/Developer/Xcode/DerivedData/Stack_Tracker-drzozvaxesdexhalletyqvnohzmo/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Zip.build/DerivedSources -F/Users/sulemanali/Library/Developer/Xcode/DerivedData/Stack_Tracker-drzozvaxesdexhalletyqvnohzmo/Build/Products/Debug-iphonesimulator/Zip -include /Users/sulemanali/Downloads/Stack\ Tracker/Pods/Target\ Support\ Files/Zip/Zip-prefix.pch -MMD -MT dependencies -MF /Users/sulemanali/Library/Developer/Xcode/DerivedData/Stack_Tracker-drzozvaxesdexhalletyqvnohzmo/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Zip.build/Objects-normal/arm64/zip-6984219fdae5f7ec15ff8e72e5f792d1.d --serialize-diagnostics /Users/sulemanali/Library/Developer/Xcode/DerivedData/Stack_Tracker-drzozvaxesdexhalletyqvnohzmo/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Zip.build/Objects-normal/arm64/zip-6984219fdae5f7ec15ff8e72e5f792d1.dia -c /Users/sulemanali/Downloads/Stack\ Tracker/Pods/Zip/Zip/minizip/zip.c -o /Users/sulemanali/Library/Developer/Xcode/DerivedData/Stack_Tracker-drzozvaxesdexhalletyqvnohzmo/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Zip.build/Objects-normal/arm64/zip-6984219fdae5f7ec15ff8e72e5f792d1.o -index-unit-output-path /Pods.build/Debug-iphonesimulator/Zip.build/Objects-normal/arm64/zip-6984219fdae5f7ec15ff8e72e5f792d1.o

/Users/sulemanali/Downloads/Stack Tracker/Pods/Zip/Zip/minizip/zip.c:187:60: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
local linkedlist_datablock_internal* allocate_new_datablock()
^
void
/Users/sulemanali/Downloads/Stack Tracker/Pods/Zip/Zip/minizip/zip.c:491:22: error: call to undeclared function 'ZOPENDISK64'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
zi->filestream = ZOPENDISK64(zi->z_filefunc, zi->filestream_with_CD, number_disk, (open_existing == 1) ?
^
/Users/sulemanali/Downloads/Stack Tracker/Pods/Zip/Zip/minizip/zip.c:491:20: warning: incompatible integer to pointer conversion assigning to 'voidpf' (aka 'void *') from 'int' [-Wint-conversion]
zi->filestream = ZOPENDISK64(zi->z_filefunc, zi->filestream_with_CD, number_disk, (open_existing == 1) ?
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/sulemanali/Downloads/Stack Tracker/Pods/Zip/Zip/minizip/zip.c:983:6: warning: expression result unused [-Wunused-value]
(crcForCrypting);
^~~~~~~~~~~~~~
3 warnings and 1 error generated.

**Above mentioned Are Stack of error while compiling I used Cocoapods for this with version (2.1.2) and IOS 13.0 **

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant