Created
February 27, 2013 21:56
-
-
Save jcoleman/5052148 to your computer and use it in GitHub Desktop.
Ruby 1.9.3p392 compilation error (Clang, Mac OS 10.8)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[2013-02-27 16:49:27] make | |
CC = clang | |
LD = ld | |
LDSHARED = clang -dynamiclib | |
CFLAGS = -O3 -ggdb -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Werror=pointer-arith -Werror=write-strings -Werror=declaration-after-statement -Werror=shorten-64-to-32 -Werror=implicit-function-declaration -fno-common -pipe | |
XCFLAGS = -include ruby/config.h -include ruby/missing.h -fvisibility=hidden -DRUBY_EXPORT | |
CPPFLAGS = -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -I/usr/local/opt/libyaml/include -I/usr/local/opt/readline/include -I/usr/local/opt/libxml2/include -I/usr/local/opt/libxslt/include -I/usr/local/opt/libksba/include -I/usr/local/opt/openssl/include -I/usr/local/opt/sqlite/include -I. -I.ext/include/x86_64-darwin12.2.1 -I./include -I. | |
DLDFLAGS = -Wl,-undefined,dynamic_lookup -Wl,-multiply_defined,suppress -Wl,-flat_namespace -install_name /Users/jcoleman/.rvm/rubies/ruby-1.9.3-p392-nclang/lib/libruby.1.9.1.dylib -current_version 1.9.1 -compatibility_version 1.9.1 -Wl,-u,_objc_msgSend | |
SOLIBS = | |
compiling main.c | |
compiling dmydln.c | |
compiling dmyencoding.c | |
compiling version.c | |
compiling miniprelude.c | |
compiling array.c | |
compiling bignum.c | |
compiling class.c | |
compiling compar.c | |
compiling complex.c | |
compiling dir.c | |
compiling dln_find.c | |
compiling enum.c | |
bignum.c:2732:26: warning: while loop has empty body [-Wempty-body] | |
while (--ny && !zds[ny]); ++ny; | |
^ | |
bignum.c:2732:26: note: put the semicolon on a separate line to silence this warning | |
compiling enumerator.c | |
compiling error.c | |
compiling eval.c | |
compiling load.c | |
compiling proc.c | |
compiling file.c | |
compiling gc.c | |
compiling hash.c | |
compiling inits.c | |
compiling io.c | |
compiling marshal.c | |
compiling math.c | |
compiling node.c | |
compiling numeric.c | |
compiling object.c | |
compiling pack.c | |
compiling parse.c | |
compiling process.c | |
1 warning generated. | |
compiling random.c | |
compiling range.c | |
compiling rational.c | |
compiling re.c | |
compiling regcomp.c | |
compiling regenc.c | |
compiling regerror.c | |
compiling regexec.c | |
compiling regparse.c | |
compiling regsyntax.c | |
compiling ruby.c | |
compiling safe.c | |
compiling signal.c | |
compiling sprintf.c | |
compiling st.c | |
st.c:520:35: error: implicit conversion loses integer precision: 'st_index_t' (aka 'unsigned long') to 'int' [-Werror,-Wshorten-64-to-32] | |
i = table->num_entries++; | |
~ ~~~~~~~~~~~~~~~~~~^~ | |
1 error generated. | |
make: *** [st.o] Error 1 | |
make: *** Waiting for unfinished jobs.... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment