Comment #5 on issue 585 by hapalibashi: v8::Array::Length unresolved external symbol in r3658
http://code.google.com/p/v8/issues/detail?id=585

The way its written, it doesn't look like it needs to distinguish between Windows/Linux compilers (and supposedly is C99).

I suppose V8 may do it because of the code compiler.

# if ULONG_MAX == 0xffffffff
     typedef long            int32_t;
     typedef long            int_least32_t;
     typedef long            int_fast32_t;
     typedef unsigned long   uint32_t;
     typedef unsigned long   uint_least32_t;
     typedef unsigned long   uint_fast32_t;
# elif UINT_MAX == 0xffffffff
     typedef int             int32_t;
     typedef int             int_least32_t;
     typedef int             int_fast32_t;
     typedef unsigned int    uint32_t;
     typedef unsigned int    uint_least32_t;
     typedef unsigned int    uint_fast32_t;
# else
#    error defaults not correct; you must hand modify boost/cstdint.hpp
# endif


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

Reply via email to