Created
January 29, 2013 17:45
-
-
Save logie17/4666111 to your computer and use it in GitHub Desktop.
This file contains 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
[9:44]:rake | |
Building Charmonizer Tests | |
cd /Users/loganbell/work/lucy-git/charmonizer | |
make CC=clang DEFS=-fno-common -DFCRUBY -fno-strict-aliasing -pipe -fstack-protector -std=gnu99 -D_GNU_SOURCE -I/Users/loganbell/work/lucy-git/clownfish/runtime/ruby tests | |
make: Nothing to be done for `tests'. | |
cd /Users/loganbell/work/lucy-git/clownfish/runtime/ruby | |
Building Clownfish | |
cd ../../compiler/ruby | |
Building Clownfish compiler... | |
Building lemon | |
cd ../../../lemon | |
make: Nothing to be done for `all'. | |
cd /Users/loganbell/work/lucy-git/clownfish/compiler/ruby | |
Parsing y files | |
Done. | |
clang -I../include -I../src -DCFCRUBY -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 -std=gnu99 -D_GNU_SOURCE -o ../src/CFCLexHeader.o -c ../src/CFCLexHeader.c | |
In file included from ../src/CFCLexHeader.l:18: | |
In file included from ../include/CFC.h:35: | |
../src/CFCVersion.h:31:10: fatal error: 'charmony.h' file not found | |
#include "charmony.h" | |
^ | |
1 error generated. | |
clang -I../include -I../src -DCFCRUBY -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 -std=gnu99 -D_GNU_SOURCE -o ../src/CFCParseHeader.o -c ../src/CFCParseHeader.c | |
In file included from ../src/CFCParseHeader.y:29: | |
In file included from ../include/CFC.h:35: | |
../src/CFCVersion.h:31:10: fatal error: 'charmony.h' file not found | |
#include "charmony.h" | |
^ | |
1 error generated. | |
clang -I../include -I../src -DCFCRUBY -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 -std=gnu99 -D_GNU_SOURCE -o ../src/CFCPerlMethod.o -c ../src/CFCPerlMethod.c | |
../src/CFCPerlMethod.c:304:25: error: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'unsigned int' [-Werror,-Wshorten-64-to-32] | |
unsigned num_vars = CFCParamList_num_vars(param_list); | |
~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
../src/CFCPerlMethod.c:497:54: error: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Werror,-Wshorten-64-to-32] | |
int num_args = CFCParamList_num_vars(param_list) - 1; | |
~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ | |
../src/CFCPerlMethod.c:532:25: error: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Werror,-Wshorten-64-to-32] | |
int width = CFCType_get_width(type); | |
~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~ | |
3 errors generated. | |
clang -I../include -I../src -DCFCRUBY -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 -std=gnu99 -D_GNU_SOURCE -o ../src/CFCPerlPod.o -c ../src/CFCPerlPod.c | |
../src/CFCPerlPod.c:229:29: error: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Werror,-Wshorten-64-to-32] | |
int string_len = strlen(string); | |
~~~~~~~~~~ ^~~~~~~~~~~~~~ | |
../src/CFCPerlPod.c:230:29: error: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Werror,-Wshorten-64-to-32] | |
int match_len = strlen(match); | |
~~~~~~~~~ ^~~~~~~~~~~~~ | |
../src/CFCPerlPod.c:231:29: error: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Werror,-Wshorten-64-to-32] | |
int replacement_len = strlen(replacement); | |
~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~ | |
../src/CFCPerlPod.c:277:20: error: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Werror,-Wshorten-64-to-32] | |
int num_vars = CFCParamList_num_vars(param_list); | |
~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
4 errors generated. | |
clang -I../include -I../src -DCFCRUBY -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 -std=gnu99 -D_GNU_SOURCE -o ../src/CFCPerlSub.o -c ../src/CFCPerlSub.c | |
../src/CFCPerlSub.c:51:27: error: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Werror,-Wshorten-64-to-32] | |
for (int i = 0, max = strlen(self->perl_name); i < max; i++) { | |
~~~ ^~~~~~~~~~~~~~~~~~~~~~~ | |
../src/CFCPerlSub.c:141:26: error: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'unsigned int' [-Werror,-Wshorten-64-to-32] | |
unsigned label_len = strlen(label); | |
~~~~~~~~~ ^~~~~~~~~~~~~ | |
2 errors generated. | |
clang -I../include -I../src -DCFCRUBY -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 -std=gnu99 -D_GNU_SOURCE -o ../src/CFCVersion.o -c ../src/CFCVersion.c | |
In file included from ../src/CFCVersion.c:27: | |
../src/CFCVersion.h:31:10: fatal error: 'charmony.h' file not found | |
#include "charmony.h" | |
^ | |
1 error generated. | |
compiling CFC.c | |
In file included from CFC.c:18: | |
In file included from ../../../include/CFC.h:35: | |
../../../src/CFCVersion.h:31:10: fatal error: 'charmony.h' file not found | |
#include "charmony.h" | |
^ | |
1 error generated. | |
make: *** [CFC.o] Error 1 | |
Finished building Clownfish compiler. | |
cd /Users/loganbell/work/lucy-git/clownfish/runtime/ruby | |
rake aborted! | |
cannot load such file -- /Users/loganbell/work/lucy-git/clownfish/compiler/ruby/ext/Clownfish/CFC | |
/Users/loganbell/work/lucy-git/clownfish/runtime/ruby/Rakefile:62:in `require_relative' | |
/Users/loganbell/work/lucy-git/clownfish/runtime/ruby/Rakefile:62:in `block in <top (required)>' | |
/Users/loganbell/.rvm/gems/ruby-1.9.3-p362/bin/ruby_noexec_wrapper:14:in `eval' | |
/Users/loganbell/.rvm/gems/ruby-1.9.3-p362/bin/ruby_noexec_wrapper:14:in `<main>' | |
Tasks: TOP => default => build_clownfish | |
(See full trace by running task with --trace) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment