You might be on to something.  I checked the scons output and dto-config.c
is being compiled by gcc whereas all the other modules are being compiled by
g++.  How do I get dto-config.c to be compiled as C++?

On Fri, May 22, 2009 at 8:14 PM, Stephan Beal <[email protected]> wrote:

>
> On Fri, May 22, 2009 at 11:56 AM, Qu0ll <[email protected]> wrote:
> > On closer look, the problem seems to be that strtod is defined at least
> > twice, once in <stdlib.h> and another time in dtoa-config.c and those
> > definitions are different (i.e. one is gay_strtod and the other is not).
> ...
> > This is the definition in <stdlib.h>:
> >
> > #if !defined __NO_ISOCEXT  /*  in libmingwex.a */
> > double __cdecl __MINGW_NOTHROW __strtod (const char*, char**);
> > #ifdef __cplusplus
> > /* We require a function with external linkage. */
>
> This is a guess, but  can you verify whether dtoa is being compiled as
> C++ or C code? My gut (possibly wrong) suspects that dtoa is being
> compiled as C but should be compiled as C++ (i don't have my source
> tree here, so i can't verify how my box is compiling it).
>
> --
> ----- stephan beal
> http://wanderinghorse.net/home/stephan/
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to