Status: New
Owner: ----
New issue 1618 by [email protected]: v8::Array::CheckCast without
V8EXPORT
http://code.google.com/p/v8/issues/detail?id=1618
I have following linking error
In function `v8::Array::Cast(v8::Value*)':
/usr/include/v8.h:3790: undefined reference to
`v8::Array::CheckCast(v8::Value*)'
in v8::Persistent<v8::Array>::New(v8::Handle<v8::Array>::Cast(value));
v8::Array::CheckCast(v8::Value*) is not defined, but
v8::Object::CheckCast(v8::Value*) is defined as external reference in libv8.
libv8-dev_3.1.8.22-1_i386.deb has this problem, but
libv8-dev_2.2.18-1_i386.deb has no one.
In r5017 you made changes:
http://code.google.com/p/v8/source/diff?spec=svn5017&r=5017&format=side&path=/trunk/include/v8.h&old_path=/trunk/include/v8.h&old=4924
-class V8EXPORT Object : public Value {
+class Object : public Value {
-static void CheckCast(Value* obj);
+V8EXPORT static void CheckCast(Value* obj);
-class V8EXPORT Array : public Object {
+class Array : public Object {
-static void CheckCast(Value* obj);
+static void CheckCast(Value* obj);
It looks like you forgot add V8EXPORT to v8::Array::CheckCast and
v8::Number::CheckCast.
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev