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


just wondering whether knows why getting 1 warning in debug (iphone simulator) , 77 warnings in debug (iphone device) when building application!?

is there can modify in project settings other "symbols hidden default" (since didn't work) remove these warnings build? miss 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) , (hidden) in /users/fulvio/projects/myapp/build/myapp.build/debug-iphoneos/myapp.build/objects-normal/armv7/scanviewcontroller.o 

(this relates second half of question)

i recommend:

gcc_inlines_are_private_extern = no gcc_symbols_private_extern = no 

you'll want identical settings every target/object/configuration. understand these switches before applying them, since may introduce bugs changing these settings. using standard c++ techniques, it's easy develop library safe using these switches. (ref: odr)


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -