Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

77 unsigned long const warnings when compiling in Debug (Objective-C)

Just wondering whether anyone knows why I would be getting 1 warning in Debug (iPhone Simulator) and 77 warnings in Debug (iPhone Device) when building my application!?

Is there something I can modify in my project settings other than "Symbols Hidden by Default" (since that didn't work) to remove these warnings from the build? I miss the green Build Successful bar.

ld: warning: unsigned long const& std::min<unsigned long>(unsigned long const&, unsigned long const&)has different visibility (default) in /Users/fulvio/Projects/zxing/iphone/ZXingWidget/build/Debug-iphoneos/libZXingWidget.a(QRCodeReader-C190599C861BFE46.o) and (hidden) in /Users/fulvio/Projects/MyApp/build/MyApp.build/Debug-iphoneos/MyApp.build/Objects-normal/armv7/ScanViewController.o
like image 904
fulvio Avatar asked Nov 15 '22 05:11

fulvio


1 Answers

as to why you may have different warnings: the functions may be truly inlined for one architecture, and the function copy may not be emitted.

like image 114
justin Avatar answered Dec 21 '22 22:12

justin