Xcode warning on Validate Project Settings at TOT

Hey guys,

I consistently get a couple warnings on lldb.xcodeproj and debugserver.xcodeproj about “Update to recommended settings”. Is there any reason why we couldn’t run that upgrade and check it in? (Some kind of backwards compatibility we need to maintain?)\

Thanks!

Please, feel free to update the settings and check them in.

Okay, will do, thanks!

Done:

tfiala-macbookpro:lldb tfiala$ svn commit
Sending lldb.xcodeproj/project.pbxproj
Sending lldb.xcodeproj/xcshareddata/xcschemes/LLDB.xcscheme
Sending lldb.xcodeproj/xcshareddata/xcschemes/Run Testsuite.xcscheme
Sending lldb.xcodeproj/xcshareddata/xcschemes/darwin-debug.xcscheme
Sending lldb.xcodeproj/xcshareddata/xcschemes/launcherRootXPCService.xcscheme
Sending lldb.xcodeproj/xcshareddata/xcschemes/launcherXPCService.xcscheme
Sending lldb.xcodeproj/xcshareddata/xcschemes/lldb-tool.xcscheme
Sending tools/debugserver/debugserver.xcodeproj/project.pbxproj
Sending tools/debugserver/debugserver.xcodeproj/xcshareddata/xcschemes/debugserver.xcscheme
Transmitting file data …
Committed revision 209142.

Hmm, I’mm seeing some warnings on the debugserver Xcode build that make it look like it may have just switched from a 32-bit build to a 64-bit build on the “lldb-tool | My Mac 64-bit” scheme.

For example, I’m seeing what I think are new warnings where system calls are returning 64 bits but they’re placed in uint32_t and the like, and warning about losing integer precision.

I might have just been ignoring those before, though, and not realized it. Any thoughts, Greg? I will revert the change (or tweak if that’s simple) based on whatever you need me to do here.

FWIW the debugserver gdb-remote protocol tests I have in TOT are all working fine.

Sample warnings follow (might be that -Wshorten-64-to-32 was added as part of the settings upgrade - so these may have always been there, just not noisy).

I believe this is something the project updating changed. If you can revert the 32/64 but truncation warnings, please do.

If you can revert the 32/64 but truncation warnings, please do.

Ok - will do. If I can’t figure out how to isolate and fix that, I’ll just revert the whole thing. Thanks!

Oh yeah I see it. Fixing it up.

My first attempts to suppress failed. I will revisit later.

For now, I reverted:

tfiala-macbookpro:lldb tfiala$ svn commit
Sending lldb.xcodeproj/project.pbxproj
Sending lldb.xcodeproj/xcshareddata/xcschemes/LLDB.xcscheme
Sending lldb.xcodeproj/xcshareddata/xcschemes/Run Testsuite.xcscheme
Sending lldb.xcodeproj/xcshareddata/xcschemes/darwin-debug.xcscheme
Sending lldb.xcodeproj/xcshareddata/xcschemes/launcherRootXPCService.xcscheme
Sending lldb.xcodeproj/xcshareddata/xcschemes/launcherXPCService.xcscheme
Sending lldb.xcodeproj/xcshareddata/xcschemes/lldb-tool.xcscheme
Sending test/tools/lldb-gdbserver/lldbgdbserverutils.py
Sending tools/debugserver/debugserver.xcodeproj/project.pbxproj
Sending tools/debugserver/debugserver.xcodeproj/xcshareddata/xcschemes/debugserver.xcscheme
Transmitting file data …
Committed revision 209151.