Skip to content

Instantly share code, notes, and snippets.

@tadzik
Created July 18, 2012 17:03
Show Gist options
  • Save tadzik/3137480 to your computer and use it in GitHub Desktop.
Save tadzik/3137480 to your computer and use it in GitHub Desktop.
cd src/pmc && cc -c -I/home/tadzik/src/parrot/install/include/4.5.0-devel -I/home/tadzik/src/parrot/install/include/4.5.0-devel/pmc -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fstack-protector -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHASATTRIBUTE_CONST -DHASATTRIBUTE_DEPRECATED -DHASATTRIBUTE_MALLOC -DHASATTRIBUTE_NONNULL -DHASATTRIBUTE_NORETURN -DHASATTRIBUTE_PURE -DHASATTRIBUTE_UNUSED -DHASATTRIBUTE_WARN_UNUSED_RESULT -DHASATTRIBUTE_HOT -DHASATTRIBUTE_COLD -DDISABLE_GC_DEBUG=1 -DNDEBUG -DHAS_GETTEXT -fPIC -falign-functions=16 -funit-at-a-time -fexcess-precision=standard -maccumulate-outgoing-args -W -Wall -Waggregate-return -Wcast-align -Wcast-qual -Wchar-subscripts -Wcomment -Wdisabled-optimization -Wdiv-by-zero -Wenum-compare -Wendif-labels -Wextra -Wformat -Wformat-extra-args -Wformat-nonliteral -Wformat-security -Wformat-y2k -Wimplicit -Wimport -Winit-self -Winline -Winvalid-pch -Wjump-misses-init -Wlogical-op -Werror=missing-braces -Wmissing-declarations -Wmissing-field-initializers -Wno-missing-format-attribute -Wmissing-include-dirs -Wmultichar -Wpacked -Wparentheses -Wpointer-arith -Wpointer-sign -Wreturn-type -Wsequence-point -Wsign-compare -Wstrict-aliasing -Wstrict-aliasing=2 -Wswitch -Wswitch-default -Wtrigraphs -Werror=undef -Wno-unused -Wunknown-pragmas -Wvariadic-macros -Wwrite-strings -Wc++-compat -Werror=declaration-after-statement -Werror=implicit-function-declaration -Wmissing-prototypes -Werror=nested-externs -Werror=old-style-definition -Werror=strict-prototypes -fvisibility=hidden *.c
mutablevar.c: In function ‘Parrot_MutableVAR_nci_readonly’:
mutablevar.c:99:5: error: implicit declaration of function ‘VTABLE_getprop’ [-Werror=implicit-function-declaration]
mutablevar.c:99:5: error: nested extern declaration of ‘VTABLE_getprop’ [-Werror=nested-externs]
mutablevar.c:99:8: warning: assignment makes pointer from integer without a cast [enabled by default]
mutablevar.c: In function ‘Parrot_MutableVAR_nci_of’:
mutablevar.c:167:9: error: implicit declaration of function ‘VTABLE_setprop’ [-Werror=implicit-function-declaration]
mutablevar.c:167:9: error: nested extern declaration of ‘VTABLE_setprop’ [-Werror=nested-externs]
mutablevar.c:169:14: warning: assignment makes pointer from integer without a cast [enabled by default]
cc1: some warnings being treated as errors
objectref.c: In function ‘Parrot_ObjectRef_clone’:
objectref.c:393:5: error: implicit declaration of function ‘pmc_new_init’ [-Werror=implicit-function-declaration]
objectref.c:393:5: error: nested extern declaration of ‘pmc_new_init’ [-Werror=nested-externs]
objectref.c:393:10: warning: assignment makes pointer from integer without a cast [enabled by default]
objectref.c: In function ‘Parrot_ObjectRef_init_pmc_orig’:
objectref.c:1859:9: error: implicit declaration of function ‘pmc_new’ [-Werror=implicit-function-declaration]
objectref.c:1859:9: error: nested extern declaration of ‘pmc_new’ [-Werror=nested-externs]
objectref.c:1859:15: warning: assignment makes pointer from integer without a cast [enabled by default]
cc1: some warnings being treated as errors
p6invocation.c: In function ‘get_next_candidate’:
p6invocation.c:101:17: error: implicit declaration of function ‘pmc_new’ [-Werror=implicit-function-declaration]
p6invocation.c:101:17: error: nested extern declaration of ‘pmc_new’ [-Werror=nested-externs]
p6invocation.c:101:28: warning: assignment makes pointer from integer without a cast [enabled by default]
p6invocation.c: In function ‘Parrot_P6Invocation_clone’:
p6invocation.c:202:17: warning: initialization makes pointer from integer without a cast [enabled by default]
cc1: some warnings being treated as errors
p6opaque.c: In function ‘do_handles’:
p6opaque.c:120:13: error: implicit declaration of function ‘pmc_new’ [-Werror=implicit-function-declaration]
p6opaque.c:120:13: error: nested extern declaration of ‘pmc_new’ [-Werror=nested-externs]
p6opaque.c:120:27: warning: initialization makes pointer from integer without a cast [enabled by default]
p6opaque.c:169:31: warning: initialization makes pointer from integer without a cast [enabled by default]
p6opaque.c:170:33: warning: initialization makes pointer from integer without a cast [enabled by default]
p6opaque.c: In function ‘look_for_method’:
p6opaque.c:200:13: error: implicit declaration of function ‘VTABLE_getprop’ [-Werror=implicit-function-declaration]
p6opaque.c:200:13: error: nested extern declaration of ‘VTABLE_getprop’ [-Werror=nested-externs]
p6opaque.c:200:33: warning: initialization makes pointer from integer without a cast [enabled by default]
p6opaque.c:218:44: warning: initialization makes pointer from integer without a cast [enabled by default]
p6opaque.c:225:54: warning: initialization makes pointer from integer without a cast [enabled by default]
p6opaque.c:273:37: warning: initialization makes pointer from integer without a cast [enabled by default]
p6opaque.c: In function ‘Parrot_P6opaque_find_method’:
p6opaque.c:349:16: warning: assignment makes pointer from integer without a cast [enabled by default]
p6opaque.c:357:20: warning: assignment makes pointer from integer without a cast [enabled by default]
p6opaque.c:359:9: error: implicit declaration of function ‘VTABLE_setprop’ [-Werror=implicit-function-declaration]
p6opaque.c:359:9: error: nested extern declaration of ‘VTABLE_setprop’ [-Werror=nested-externs]
p6opaque.c:372:31: warning: initialization makes pointer from integer without a cast [enabled by default]
p6opaque.c:381:9: error: implicit declaration of function ‘pmc_type’ [-Werror=implicit-function-declaration]
p6opaque.c:381:9: error: nested extern declaration of ‘pmc_type’ [-Werror=nested-externs]
p6opaque.c:382:28: warning: initialization makes pointer from integer without a cast [enabled by default]
p6opaque.c:389:30: warning: initialization makes pointer from integer without a cast [enabled by default]
cc1: some warnings being treated as errors
p6role.c: In function ‘Parrot_P6role_find_method’:
p6role.c:97:5: error: implicit declaration of function ‘pmc_new’ [-Werror=implicit-function-declaration]
p6role.c:97:5: error: nested extern declaration of ‘pmc_new’ [-Werror=nested-externs]
p6role.c:97:12: warning: assignment makes pointer from integer without a cast [enabled by default]
p6role.c:105:16: warning: assignment makes pointer from integer without a cast [enabled by default]
p6role.c:107:5: error: implicit declaration of function ‘VTABLE_setprop’ [-Werror=implicit-function-declaration]
p6role.c:107:5: error: nested extern declaration of ‘VTABLE_setprop’ [-Werror=nested-externs]
p6role.c: In function ‘Parrot_P6role_get_string’:
p6role.c:114:5: error: implicit declaration of function ‘VTABLE_getprop’ [-Werror=implicit-function-declaration]
p6role.c:114:5: error: nested extern declaration of ‘VTABLE_getprop’ [-Werror=nested-externs]
p6role.c:114:18: warning: initialization makes pointer from integer without a cast [enabled by default]
cc1: some warnings being treated as errors
perl6multisub.c: In function ‘sort_candidates’:
perl6multisub.c:248:9: error: implicit declaration of function ‘VTABLE_getprop’ [-Werror=implicit-function-declaration]
perl6multisub.c:248:9: error: nested extern declaration of ‘VTABLE_getprop’ [-Werror=nested-externs]
perl6multisub.c:248:33: warning: initialization makes pointer from integer without a cast [enabled by default]
perl6multisub.c:266:15: warning: assignment makes pointer from integer without a cast [enabled by default]
perl6multisub.c: In function ‘do_dispatch’:
perl6multisub.c:515:44: error: ‘NEED_CONTINUATION’ undeclared (first use in this function)
perl6multisub.c:515:44: note: each undeclared identifier is reported only once for each function it appears in
perl6multisub.c:681:9: error: implicit declaration of function ‘VTABLE_setprop’ [-Werror=implicit-function-declaration]
perl6multisub.c:681:9: error: nested extern declaration of ‘VTABLE_setprop’ [-Werror=nested-externs]
perl6multisub.c:739:9: error: implicit declaration of function ‘pmc_new’ [-Werror=implicit-function-declaration]
perl6multisub.c:739:9: error: nested extern declaration of ‘pmc_new’ [-Werror=nested-externs]
perl6multisub.c:739:31: warning: initialization makes pointer from integer without a cast [enabled by default]
perl6multisub.c: In function ‘Parrot_Perl6MultiSub_clone’:
perl6multisub.c:920:24: warning: initialization makes pointer from integer without a cast [enabled by default]
perl6multisub.c: In function ‘Parrot_Perl6MultiSub_destroy’:
perl6multisub.c:955:55: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body]
perl6multisub.c:958:53: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body]
perl6multisub.c: In function ‘Parrot_Perl6MultiSub_nci_merge_candidates’:
perl6multisub.c:1332:21: warning: initialization makes pointer from integer without a cast [enabled by default]
perl6multisub.c: In function ‘Parrot_Perl6MultiSub_push_pmc_orig’:
perl6multisub.c:1459:20: warning: assignment makes pointer from integer without a cast [enabled by default]
perl6multisub.c:1470:48: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body]
perl6multisub.c:1475:48: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body]
cc1: some warnings being treated as errors
make: *** [src/pmc/perl6_group.so] 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