Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Xcode5.1 complier nesc error #25

Open
liminglu opened this issue Apr 10, 2014 · 3 comments
Open

Xcode5.1 complier nesc error #25

liminglu opened this issue Apr 10, 2014 · 3 comments

Comments

@liminglu
Copy link

Hi,
$ make 
make nesc while I meet a problem as follow,
gcc -DHAVE_CONFIG_H -I. -I..  -DNMEMDEBUG -DNDEBUG -O9     -g -Wall -Wno-long-double -MT regions.o -MD -MP -MF .deps/regions.Tpo -c -o regions.o regions.c
warning: unknown warning option '-Wno-long-double'; did you mean '-Wno-long-long'? [-Wunknown-warning-option]
error: invalid value '9' in '-O9'
make[3]: *** [regions.o] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2
make: *** [all-recursive] Error 1
gcc version
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 5.1 (clang-503.0.38) (based on LLVM 3.4svn)
Target: x86_64-apple-darwin13.1.0
Thread model: posix
MacOS version
10.9.2
Hope to reply!Thx~
@bradjc
Copy link
Contributor

bradjc commented Apr 15, 2014

I believe I ran into this before and I can't remember if I found a work around or just used gcc and not llvm.

@dgay42
Copy link
Member

dgay42 commented May 10, 2014

Switched libcompat to -O2 in b044674

@cire831
Copy link
Member

cire831 commented Jul 22, 2014

Does switching libcompat to -O2 in b044674 fix problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants