unknown argument: '-stdc++' [-Wunused-command-line-argument-hard-error-in-future] during build in XCODE 5.1

StackOverflow https://stackoverflow.com/questions/22607560

Frage

I get this error when I build a project in XCODE 5.1. I followed Link and downloaded New command line tools from Apple.But facing same issue. Please guide me. thanks

War es hilfreich?

Lösung

Have 3 steps u should do to fix it: - Remove -stdc++ in Other Linker Flags - Add -lstdc++ into Other Linker Flags - Add libstdc++6.09.dylib into Link binary with Libraries.

Good luck.

Andere Tipps

Follow this as it's happening because of Apple LLVM version 5.1 (clang-503.0.38) (based on LLVM 3.4svn) : https://langui.sh/2014/03/10/wunused-command-line-argument-hard-error-in-future-is-a-harsh-mistress/

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top