|
From: Raymond R. <ra...@ba...> - 2008-12-10 02:18:33
|
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 Any ideas? I suspect this may be a limitation in gcc 2.95.x as this will compile on OpenSuSE 11 which I think has a 4.x version of gcc. Raymond |