|
From: Mark H. <ma...@fi...> - 2008-12-15 19:57:10
|
>Below is the error that I'm getting when using a very simple makefile to try >to build Google's V8 Javascript engine under Haiku at the moment: > >/Prometheus/dev/v8/src/api.cc: In method `void >v8::FunctionTemplate::AddInstancePropertyAccessor(v8::Handle<v8::String>, >v8::Handle<v8::Value> (*)(v8::Local<v8::String>, const v8::AccessorInfo &), >void (*)(v8::Local<v8::String>, v8::Local<v8::Value>, const v8::AccessorInfo >&), v8::Handle<v8::Value>, v8::AccessControl, v8::PropertyAttribute)': >/Prometheus/dev/v8/src/api.cc:705: static_cast from `v8::PropertyAttribute' >to `PropertyAttributes' >/Prometheus/dev/v8/src/api.cc: In method `bool >v8::Object::Set(v8::Handle<v8::Value>, v8::Handle<v8::Value>, >v8::PropertyAttribute = None)': >/Prometheus/dev/v8/src/api.cc:1734: static_cast from `v8::PropertyAttribute' >to `PropertyAttributes' >make: *** [src/api.o] Error 1 It looks like the static_cast is failing, but it is hard to tell without more information. So that would mean it is not an STL issue. It might still be a compiler issue, though. Mark -- Spangalese for beginnners: 'Blu shef farn wahr' 'May I please have my leg back' |