rubinius/rubinius — Issue #1584: Got "control may reach end of non-void function" error during "rake install" 
Author: jasnow
Created: 2012-03-03 22:18:32+00:00
State: open

Here is the last several lines. Full text in https://gist.github.com/1968592
=======================================================
cc1plus: warnings being treated as errors
vm/builtin/regexp.cpp: In member function ‘rubinius::Regexp* rubinius::Regexp::initialize(rubinius::State*, rubinius::String*, rubinius::Fixnum*)’:
vm/builtin/regexp.cpp:312: warning: control may reach end of non-void function ‘rubinius::Encoding* rubinius::kcode_to_encoding(rubinius::State*, int, rubinius::Encoding*)’ being inlined
Error: gcc -Ivm -Ivm/test/cxxtest -I. -pipe -Wall -fno-omit-frame-pointer -ggdb3 -Werror -DRBX_PROFILER -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -march=i686 -DHAS_EXECINFO -DHAVE_NL_LANGINFO -DHAVE_TM_GMTOFF -DHAVE_TM_ZONE -DHAVE_TIMEZONE -DHAVE_TZNAME -DHAVE_DAYLIGHT -DHAVE_ALLOCA_H -DHAVE_STRING_H -DHAVE_SYS_TIME_H -DHAVE_SYS_TIMES_H -DHAVE_SYS_TYPES_H -DHAVE_UNISTD_H -DHAVE_STDARG_H -D_DARWIN_USE_64_BIT_INODE -mdynamic-no-pic -DNDEBUG -D_GNU_SOURCE -fno-common -Ivendor/llvm/include -DENABLE_LLVM -Ivendor/oniguruma -DHAVE_CONFIG_H -I. -I../../vm/capi/19/include -Ivendor/udis86 -Ivendor/libffi/include -Ivendor/libgdtoa -Ivendor/libtommath -I/usr/local/include -I/opt/local/include -c -o vm/builtin/artifacts/regexp.cpp.o vm/builtin/regexp.cpp
rake aborted!
Error compiling