Xcode main return value

I was showing someone the Hello World command line tool example in Xcode (version 9.4.1)


and the negative return values are displayed as unsigned 8-bit values.

User uploaded file


Has anyone else noticed this? I guess this is a problem with how Xcode treats the return value?

MacBook Pro, macOS Sierra (10.12.6)

Posted on Aug 29, 2018 5:08 AM

Reply
4 replies

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Xcode main return value

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.