Seo Sanghyeon
unread,Sep 2, 2008, 4:25:50 PM9/2/08Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to v8-dev
Hello, everybody,
I had to do the following to build V8 on Debian unstable, with GCC
4.3.
$ scons -j2 sample=shell
Resulting shell calculated 1+1. That's all for now.
Index: src/objects-inl.h
===================================================================
--- src/objects-inl.h (revision 110)
+++ src/objects-inl.h (working copy)
@@ -246,7 +246,7 @@
}
-template <> static inline bool Is<JSFunction>(Object* obj) {
+template <> inline bool Is<JSFunction>(Object* obj) {
return obj->IsJSFunction();
}
@@ -293,7 +293,7 @@
}
-template <> static inline bool Is<JSArray>(Object* obj) {
+template <> inline bool Is<JSArray>(Object* obj) {
return obj->IsJSArray();
}
Index: SConstruct
===================================================================
--- SConstruct (revision 110)
+++ SConstruct (working copy)
@@ -89,7 +89,7 @@
'gcc': {
'all': {
'CXXFLAGS': [], #['-fvisibility=hidden'],
- 'WARNINGFLAGS': ['-pedantic', '-Wall', '-Werror', '-W',
+ 'WARNINGFLAGS': ['-pedantic', '-Wall', '-W',
'-Wno-unused-parameter']
},
'arch:arm': {