Your best bet it to turn off warnings are errors. Remove the -Werror option in one of the rake config files (sorry don't have source right now and don't remember which).
There are(were) further problems building with 10.5. And additionally some runtime problems with text encodings that I didn't look at to closely.
In the end I decided it was a good excuse to finally upgrade to 10.6. :)
- Justin
PS. I believe there is already a bug filed for this problem.
--
Decay is inherent in all component things, work out your salvation with diligence.
On Fri, Jul 23, 2010 at 3:38 AM, MacRuby
<ruby-noreply@macosforge.org> wrote:
#805: Can't build MacRuby0.6 on Mac OSX 10.5.8 with llvm(rev89156)
---------------------------------+------------------------------------------
Reporter: kyossi212@… | Owner: lsansonetti@…
Type: defect | Status: new
Priority: blocker | Milestone:
Component: MacRuby | Keywords: build Leopard
---------------------------------+------------------------------------------
1. download MacRuby0.6 from SVN, as http://www.macruby.org/source.html
say.
2. Following README.rdoc, Install llvm rev 89156. llvm build successfully.
3. rake failed for MacRuby0.6.
$rake
/usr/bin/ruby tool/compile_prelude.rb prelude.rb miniprelude.c.new
rm miniprelude.c.new
/usr/bin/g++-4.2 -I/usr/local/include -D_DEBUG -D_GNU_SOURCE
-D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -O2 -fno-common
-Woverloaded-virtual -I. -I./include -g -Wall -arch i386 -arch x86_64
-Wno-parentheses -Wno-deprecated-declarations -Werror -I./icu-1060 -c
vm.cpp -o vm.o
cc1plus: warnings being treated as errors
/usr/include/c++/4.0.0/bits/stl_uninitialized.h: In function
‘_ForwardIterator std::__uninitialized_copy_aux(_InputIterator,
_InputIterator, _ForwardIterator, __false_type) [with _InputIterator =
__gnu_cxx::__normal_iterator<RoxorFunction::Line*,
std::vector<RoxorFunction::Line, std::allocator<RoxorFunction::Line> > >,
_ForwardIterator = __gnu_cxx::__normal_iterator<RoxorFunction::Line*,
std::vector<RoxorFunction::Line, std::allocator<RoxorFunction::Line> >
>]’:
/usr/include/c++/4.0.0/bits/stl_uninitialized.h:92: warning: control
reaches end of non-void function
cc1plus: warnings being treated as errors
/usr/include/c++/4.0.0/bits/stl_uninitialized.h: In function
‘_ForwardIterator std::__uninitialized_copy_aux(_InputIterator,
_InputIterator, _ForwardIterator, __false_type) [with _InputIterator =
__gnu_cxx::__normal_iterator<RoxorFunction::Line*,
std::vector<RoxorFunction::Line, std::allocator<RoxorFunction::Line> > >,
_ForwardIterator = __gnu_cxx::__normal_iterator<RoxorFunction::Line*,
std::vector<RoxorFunction::Line, std::allocator<RoxorFunction::Line> >
>]’:
/usr/include/c++/4.0.0/bits/stl_uninitialized.h:92: warning: control
reaches end of non-void function
lipo: can't figure out the architecture type of:
/var/folders/ta/tas10EvnE7CTtN0lbeES1k+++TI/-Tmp-//ccPdEJKo.out
rake aborted!
Command failed with status (1): [/usr/bin/g++-4.2 -I/usr/local/include
-D_...]
(See full trace by running task with --trace)
--
Ticket URL: <http://www.macruby.org/trac/ticket/805>
MacRuby <http://macruby.org/>
_______________________________________________
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel