Le mar. 21 sept. 2021 à 07:55, Ondrej Zary <ond...@zary.sk> a écrit : > > On Monday 20 September 2021, Bastien Roucariès wrote: > > Le lundi 20 septembre 2021, 19:32:52 UTC Bastien ROUCARIES a écrit : > > Could you try one by one the following untested patch. Please compile and > > run > > the testsuite. > > The first one fails to compile: > In file included from ../src/util-inl.h:28, > from ../src/aliased_buffer.h:7, > from ../src/memory_tracker.h:12, > from ../src/memory_tracker-inl.h:6, > from ../src/base_object.h:27, > from ../src/async_wrap.h:27, > from ../src/async_wrap-inl.h:27, > from ../src/async_wrap.cc:22: > ../src/util.h:210:11: error: ‘Persistent’ does not name a type; did you mean > ‘gethostent’? > const Persistent<TypeName>& persistent);
Add on the top of the files using v8::Global; and replace const Persistent<TypeName>& persistent by const Global<Function>& persistent > ^~~~~~~~~~ > > > -- > Ondrej Zary -- Pkg-javascript-devel mailing list Pkg-javascript-devel@alioth-lists.debian.net https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel