Latest XCode update has broken GDataTouchStaticLib

85 views
Skip to first unread message

Zak

unread,
Jul 27, 2012, 11:07:21 AM7/27/12
to gdata-objec...@googlegroups.com
I just downloaded the new XCode update and now XCode is giving me several errors pointing to GDataTouchStaticLib (specifically, 
GTMHTTPUploadFetcher.m). It was working fine before. Here are the errors:


Brandon Fosdick

unread,
Jul 27, 2012, 12:56:58 PM7/27/12
to gdata-objec...@googlegroups.com
I'm seeing this in all of my projects too, not just the GData related ones. The new version of LLVM included with Xcode 4.4 is very picky about string formatters. It's a seemingly easy thing to fix, but I haven't figured out how to handle it for code that needs to be compiled on both iOS and OS X (integers are different sizes on the two platforms and LLVM wants a different formatter for each). For now I'm disabling the "warnings as errors" build setting.


--
You received this message because you are subscribed to the Google Groups "Google Data APIs Objective-C Client Library Discussion" group.
To view this discussion on the web visit https://groups.google.com/d/msg/gdata-objectivec-client/-/4_zxD8Gu06kJ.
To post to this group, send email to gdata-objec...@googlegroups.com.
To unsubscribe from this group, send email to gdata-objectivec-...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/gdata-objectivec-client?hl=en.

Greg Robbins

unread,
Jul 27, 2012, 9:05:36 PM7/27/12
to gdata-objec...@googlegroups.com
I've checked in updates to the project to address recent compiler changes. Thank you for the messages.

The simplest way to deal with string formatters is to cast explicitly to the size natively expected by the formatter, such as casting to int for "%d".

Reply all
Reply to author
Forward
0 new messages