Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion

Xcode compiler warnings

edited March 14 in Bugs Posts: 64

Some compiler warnings that need cleaning up for deprecated methods, etc. below is the tip of the iceberg:

Showing All Messages
/Users/krdavis/Projects/DungeonShadows/Frameworks/RuntimeKit.framework/Headers/CodeaViewController.h:45:69: Block pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified)

/Users/krdavis/Projects/DungeonShadows/Frameworks/RuntimeKit.framework/Headers/Driver.h:33:20: 'CAEAGLLayer' is deprecated: first deprecated in iOS 12.0 - OpenGLES is deprecated

/Users/krdavis/Projects/DungeonShadows/Frameworks/RuntimeKit.framework/Headers/Driver.h:38:4: 'EAGLContext' is deprecated: first deprecated in iOS 12.0 - OpenGLES API deprecated. (Define GLES_SILENCE_DEPRECATION to silence these warnings)

/Users/krdavis/Projects/DungeonShadows/Frameworks/RuntimeKit.framework/Headers/Renderer.h:43:19: 'CAEAGLLayer' is deprecated: first deprecated in iOS 12.0 - OpenGLES is deprecated

/Users/krdavis/Projects/DungeonShadows/Frameworks/RuntimeKit.framework/Headers/Renderer.h:63:4: 'EAGLContext' is deprecated: first deprecated in iOS 12.0 - OpenGLES API deprecated. (Define GLES_SILENCE_DEPRECATION to silence these warnings)

/Users/krdavis/Projects/DungeonShadows/Frameworks/ToolKit.framework/Headers/NDTrie.h:515:9: Parameter 'firstObject,' not found in the function declaration

/Users/krdavis/Projects/DungeonShadows/Frameworks/ToolKit.framework/Headers/NDTrie.h:551:229: HTML end tag does not match any start tag

/Users/krdavis/Projects/DungeonShadows/DungeonShadows/Addon/Module/LuaIntf/LuaState.h:133:17: Implicit conversion loses integer precision: 'lua_Integer' (aka 'long long') to 'int'

/Users/krdavis/Projects/DungeonShadows/DungeonShadows/Addon/Module/LuaIntf/LuaState.h:588:18: Implicit conversion loses integer precision: 'lua_Integer' (aka 'long long') to 'int'

/Users/krdavis/Projects/DungeonShadows/DungeonShadows/Addon/Module/LuaIntf/LuaRef.h:433:15: Parameter 'L' not found in the function declaration

/Users/krdavis/Projects/DungeonShadows/DungeonShadows/Addon/Module/LuaIntf/LuaRef.h:447:15: Parameter 'L' not found in the function declaration

/Users/krdavis/Projects/DungeonShadows/DungeonShadows/Addon/Module/LuaIntf/LuaRef.h:997:17: Implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int'

/Users/krdavis/Projects/DungeonShadows/DungeonShadows/Addon/Module/LuaIntf/LuaRef.h:1096:17: Implicit conversion loses integer precision: 'lua_Integer' (aka 'long long') to 'int'

Ld /Users/krdavis/Library/Developer/Xcode/DerivedData/DungeonShadows-hkekgreecdkrfyaixgeadyeumebp/Build/Products/Debug-iphoneos/DungeonShadows.app/DungeonShadows normal (in target 'DungeonShadows' from project 'DungeonShadows')
    cd /Users/krdavis/Projects/DungeonShadows
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -target arm64-apple-ios12.4 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk -L/Users/krdavis/Library/Developer/Xcode/DerivedData/DungeonShadows-hkekgreecdkrfyaixgeadyeumebp/Build/Products/Debug-iphoneos -F/Users/krdavis/Library/Developer/Xcode/DerivedData/DungeonShadows-hkekgreecdkrfyaixgeadyeumebp/Build/Products/Debug-iphoneos -F/Users/krdavis/Projects/DungeonShadows/DungeonShadows/Frameworks -F/Users/krdavis/Projects/DungeonShadows/Frameworks -filelist /Users/krdavis/Library/Developer/Xcode/DerivedData/DungeonShadows-hkekgreecdkrfyaixgeadyeumebp/Build/Intermediates.noindex/DungeonShadows.build/Debug-iphoneos/DungeonShadows.build/Objects-normal/arm64/DungeonShadows.LinkFileList -Xlinker -rpath -Xlinker @executable_path/Frameworks -dead_strip -Xlinker -object_path_lto -Xlinker /Users/krdavis/Library/Developer/Xcode/DerivedData/DungeonShadows-hkekgreecdkrfyaixgeadyeumebp/Build/Intermediates.noindex/DungeonShadows.build/Debug-iphoneos/DungeonShadows.build/Objects-normal/arm64/DungeonShadows_lto.o -Xlinker -export_dynamic -Xlinker -no_deduplicate -fembed-bitcode-marker -stdlib\=libc++ -fobjc-arc -fobjc-link-runtime -L/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos -L/usr/lib/swift -Xlinker -add_ast_path -Xlinker /Users/krdavis/Library/Developer/Xcode/DerivedData/DungeonShadows-hkekgreecdkrfyaixgeadyeumebp/Build/Intermediates.noindex/DungeonShadows.build/Debug-iphoneos/DungeonShadows.build/Objects-normal/arm64/DungeonShadows.swiftmodule -framework CraftKit -framework ToolKit -framework RuntimeKit -Xlinker -no_adhoc_codesign -Xlinker -dependency_info -Xlinker /Users/krdavis/Library/Developer/Xcode/DerivedData/DungeonShadows-hkekgreecdkrfyaixgeadyeumebp/Build/Intermediates.noindex/DungeonShadows.build/Debug-iphoneos/DungeonShadows.build/Objects-normal/arm64/DungeonShadows_dependency_info.dat -o /Users/krdavis/Library/Developer/Xcode/DerivedData/DungeonShadows-hkekgreecdkrfyaixgeadyeumebp/Build/Products/Debug-iphoneos/DungeonShadows.app/DungeonShadows

ld: warning: directory not found for option '-F/Users/krdavis/Projects/DungeonShadows/DungeonShadows/Frameworks'

Comments

  • SimeonSimeon Admin Mod
    Posts: 5,697
    @krdavis the current Codea runtime uses OpenGL, which is deprecated on iOS. A full rewrite pirting to Metal is underway, though Codea itself will undergo significant API changes once it is complete
Sign In or Register to comment.