mike.tihonchik
mike.tihonchik

Reputation: 6933

Xcode 6 throws clang error while compiling

I have recently updated my Xcode to version 6.0 (6A313). Now, during the compilation I get the following error:

clang: error: unknown argument: '-wall'

From Clang Compiler User's Manual, I found out that this flag is responsible for enabling all warnings. I have also read many posts on the temporary fix for Apple LLVM Compiler for Xcode 5.1, where users would downgrade all clang errors to warnings with:

ARCHFLAGS=-Wno-error=unused-command-line-argument-hard-error-in-future easy_install ExtensionName

However, that does not help me, as there is no such extension as "all". So I am stuck at this point and any suggestions would be appreciated. Also, I have upgraded to Ruby 2.1.1 (from 2.0.x), but that did not seem to help either.

Upvotes: 0

Views: 233

Answers (1)

Droppy
Droppy

Reputation: 9721

The argument is -Wall, not -wall.

Upvotes: 1

Related Questions