in case someone comes across the same issue:
https://stackoverflow.com/questions/57322087/c2027-use-of-undefined-type-v8internalobject

On Sunday, July 28, 2019 at 7:16:04 PM UTC+8, Jerry Jin wrote:
>
> Hello, I'm new to v8-dev, i just started playing around
>
> I'm able build v8 following official building steps, and i'm trying to 
> build with vs2019 on windows 10 64 bit
>
> when building with visual studio 2019, whenever the target involves 
> 'src/handles/handles.h', like v8_base_without_compiler, there's always 
> building error:
>
> Error C2027 use of undefined type “v8::internal::Object" 
> v8_base_without_compiler E:\v8\src\handles\handles.h 144 
>
>   V8_INLINE T operator*() const {
>     // unchecked_cast because we rather trust Handle<T> to contain a T than
>     // include all the respective -inl.h headers for SLOW_DCHECKs.
>     SLOW_DCHECK(IsDereferenceAllowed(INCLUDE_DEFERRED_CHECK));
>    * return T::unchecked_cast(Object(*location()));  // error on this 
> line*
>   }
>
> did i miss anything, how i can fix this?
>
> thanks!
>

-- 
-- 
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- 
You received this message because you are subscribed to the Google Groups 
"v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/v8-dev/7c22b2e6-473b-4cc1-add5-404256402952%40googlegroups.com.

Reply via email to