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

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

문제

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

도움이 되었습니까?

해결책

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.

다른 팁

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/

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top