Yes.. I just discovered that on my own and was coming back here to
comment on this.

Now I have a much more respectable C++ error...

scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...
gcc -o obj/release/dtoa-config.o -c -Werror -Wno-uninitialized -m32 -
O3 -fomit-frame-pointer -fdata-sections -ffunction-sections -ansi -
DV8_TARGET_ARCH_IA32 -DENABLE_DEBUGGER_SUPPORT -DV8_NATIVE_REGEXP -
DENABLE_LOGGING_AND_PROFILING -Isrc src/dtoa-config.c
g++ -o obj/release/accessors.o -c -Wall -Werror -W -Wno-unused-
parameter -Wnon-virtual-dtor -pedantic -m32 -O3 -fomit-frame-pointer -
fdata-sections -ffunction-sections -ansi -fno-rtti -fno-exceptions -
fvisibility=hidden -Wall -Werror -W -Wno-unused-parameter -Wnon-
virtual-dtor -pedantic -m32 -O3 -fomit-frame-pointer -fdata-sections -
ffunction-sections -ansi -DV8_TARGET_ARCH_IA32 -
DENABLE_DEBUGGER_SUPPORT -DV8_NATIVE_REGEXP -
DENABLE_LOGGING_AND_PROFILING -Isrc src/accessors.cc
g++ -o obj/release/allocation.o -c -Wall -Werror -W -Wno-unused-
parameter -Wnon-virtual-dtor -pedantic -m32 -O3 -fomit-frame-pointer -
fdata-sections -ffunction-sections -ansi -fno-rtti -fno-exceptions -
fvisibility=hidden -Wall -Werror -W -Wno-unused-parameter -Wnon-
virtual-dtor -pedantic -m32 -O3 -fomit-frame-pointer -fdata-sections -
ffunction-sections -ansi -DV8_TARGET_ARCH_IA32 -
DENABLE_DEBUGGER_SUPPORT -DV8_NATIVE_REGEXP -
DENABLE_LOGGING_AND_PROFILING -Isrc src/allocation.cc
g++ -o obj/release/api.o -c -Wall -Werror -W -Wno-unused-parameter -
Wnon-virtual-dtor -pedantic -m32 -O3 -fomit-frame-pointer -fdata-
sections -ffunction-sections -ansi -fno-rtti -fno-exceptions -
fvisibility=hidden -Wall -Werror -W -Wno-unused-parameter -Wnon-
virtual-dtor -pedantic -m32 -O3 -fomit-frame-pointer -fdata-sections -
ffunction-sections -ansi -DV8_TARGET_ARCH_IA32 -
DENABLE_DEBUGGER_SUPPORT -DV8_NATIVE_REGEXP -
DENABLE_LOGGING_AND_PROFILING -Isrc src/api.cc
cc1plus: warnings being treated as errors
src/handles-inl.h: In static member function 'static void
v8::V8::RemoveMessageListeners(void (*)(v8::Handle<v8::Message>,
v8::Handle<v8::Value>))':
src/handles-inl.h:50: error: dereferencing pointer '<anonymous>' does
break strict-aliasing rules
src/handles-inl.h:50: error: dereferencing pointer '<anonymous>' does
break strict-aliasing rules
src/globals.h:574: note: initialized from here
cc1plus: error: dereferencing pointer 'dest' does break strict-
aliasing rules
cc1plus: error: dereferencing pointer 'dest' does break strict-
aliasing rules
cc1plus: error: dereferencing pointer 'dest' does break strict-
aliasing rules
src/api.cc:3373: note: initialized from here
scons: *** [obj/release/api.o] Error 1
scons: building terminated because of errors.



On Dec 11, 3:01 am, Mads Sig Ager <a...@chromium.org> wrote:
> Please have a look at:
>
> http://code.google.com/apis/v8/build.html
>
> You need to invoke 'scons' in the V8 directory.  'scons' will find the
> SConstruct file and do the right thing.  You should not run SConstruct
> directly.
>
> Cheers,    -- Mads
>
> On Fri, Dec 11, 2009 at 8:58 AM, Solifugus <matthe...@gmail.com> wrote:
>
> > $ python ./SConstruct
> > Traceback (most recent call last):
> >  File "./SConstruct", line 34, in <module>
> >    root_dir = dirname(File('SConstruct').rfile().abspath)
> > NameError: name 'File' is not defined
>
> > OK--So I hardcode in the absolute path it's looking for and....
>
> > $ python ./SConstruct
> > Traceback (most recent call last):
> >  File "./SConstruct", line 565, in <module>
> >    TOOLCHAIN_GUESS = GuessToolchain(OS_GUESS)
> >  File "./SConstruct", line 555, in GuessToolchain
> >    tools = Environment()['TOOLS']
> > NameError: global name 'Environment' is not defined
>
> > There is no File() or Environment() in Python, I was told by people on
> > #python channel at irc.freenode.net....
>
> > And in spite of some 30+ years of writing software in everything from
> > RPG II to C++, PHP, and JavaScript, and reading two books on Python
> > and writing two small production programs in Python, I very very
> > passionately HATE that language..  I would like squeeze the idiot's
> > neck who invented it and bang his head repeatedly against a cold,
> > petrified tree.
>
> > Any help... Or particularly a fixed version of "scons" as you call it
> > in the build instructions in tomorrow's SVN commit would be greatly
> > appreciated.
>
> > --
> > v8-users mailing list
> > v8-users@googlegroups.com
> >http://groups.google.com/group/v8-users

-- 
v8-users mailing list
v8-users@googlegroups.com
http://groups.google.com/group/v8-users

Reply via email to