00:00:12  <timg_>using namespace v8 at the top should work?
00:00:20  <bnoordhuis>don't do that in a header file
00:00:35  <timg_>ok
00:00:43  <timg_>i tryed this before, i got the same issue
00:00:55  <bnoordhuis>does the header file include v8.h?
00:01:28  <timg_>jep, any map
00:01:31  <timg_>and
00:02:08  <timg_>https://gist.github.com/anonymous/50d486c33c1ead1272ab
00:03:33  <bnoordhuis>timg_: you can't really use Strings like that, they should be wrapped in Persistents
00:04:03  <bnoordhuis>to make things more complicated, Persistents aren't copyable by default anymore so you can't really use them in a std::map
00:04:06  <timg_>i am still learning ...
00:04:11  <timg_>but it should compile?
00:04:40  <timg_>same issue if i uncomment line 8 and 9
00:06:01  <bnoordhuis>timg_: the return value should be void
00:06:04  <timg_>i added the gcc errors ...
00:06:38  <timg_>i want to use newInstance in c++ to get a new objectTemplate->newInstance
00:06:54  <bnoordhuis>oh, okay. btw, the errors don't seem to line up with the code sample
00:07:31  <bnoordhuis>oh wait, they're not from just the header
00:08:13  <bnoordhuis>timg_: can you post both files? it's kind of hard to guess what's going on
00:08:14  <timg_>think the request.cpp is also total crap. i am a real c++ and v8 beginner :(
00:08:29  <timg_>yeah, no problem
00:10:03  <timg_>https://gist.github.com/timglabisch/07d50cee84cebff74c40
00:10:32  <timg_>all the files ...
00:10:59  <bnoordhuis>timg_: remove the static keyword from the methods in request.cpp
00:11:55  <timg_>same issue, should i update the related files?
00:12:40  <timg_>i updated the gist
00:12:52  <timg_>and added the error output
00:16:30  * arexusquit (Quit: arexus)
00:16:47  <bnoordhuis>timg_: hm, not sure. with what flags are you compiling and with what gcc version?
00:18:25  <timg_>bnoordhuis, https://gist.github.com/timglabisch/07d50cee84cebff74c40#file-cmake
00:20:04  <bnoordhuis>timg_: okay, then i don't know. can you build v8 itself?
00:20:21  <timg_>yes, the bootstrap works!
00:20:37  <timg_>if i just drop the request.h and request.cpp it works!
00:21:58  <timg_>a few minutes ago i added the request.h and request.cpp, because of my poor c++ skills i broke the project. so the error must be up the the request.h/cc
00:23:36  <bnoordhuis>i don't see anything obviously wrong. it looks like the compiler might be getting confused
00:24:24  <timg_>think it's nothing special, a 13.04 ubuntu with default packages
00:25:47  <timg_>should i gist both "ambiguous" parts in the v8.h?
00:26:06  <bnoordhuis>sure. what version of v8 is it?
00:28:20  <timg_>from the 25 oct, revision 4977ee6dd34722cd886ac056600975650ca67ea5 :)
00:30:35  <bnoordhuis>HEAD works for me. maybe consider upgrading
00:30:57  <timg_>bnoordhuis, here is the part of the v8.h https://gist.github.com/timglabisch/07d50cee84cebff74c40#file-v8-h
00:31:02  <timg_>i try a git pull
00:33:27  <bnoordhuis>yeah, that looks okay to me
00:33:30  <timg_>takes a bit time to compile the head
00:33:48  <bnoordhuis>i have to sign off but good luck, hope you figure it out :)
00:34:12  <timg_>yeah, i hope
00:34:19  <timg_>thank for your time
00:34:32  * paulfryzeljoined
00:36:49  * c4milojoined
00:38:33  * bnoordhuisquit (Ping timeout: 272 seconds)
00:39:02  * paulfryzelquit (Ping timeout: 265 seconds)
00:41:15  * c4miloquit (Ping timeout: 245 seconds)
00:49:27  * timg___joined
00:53:32  * timg_quit (Ping timeout: 265 seconds)
00:57:13  * Venemoquit (Quit: Communi 1.2.1)
01:05:10  <timg___>bnoordhuis, just added a few v8:: and it worked ....
01:14:26  * abraxasjoined
01:14:43  * solublejoined
01:15:54  <timg___>bnoordhuis, just added a few v8:: and it worked ....
01:19:01  * abraxasquit (Ping timeout: 248 seconds)
01:21:00  * timg___quit (Ping timeout: 272 seconds)
01:35:15  * paulfryzeljoined
01:39:43  * paulfryzelquit (Ping timeout: 245 seconds)
01:43:36  * ZiNC2^6joined
01:46:17  * ZiNCquit (Ping timeout: 240 seconds)
01:46:17  * ZiNC2^6changed nick to ZiNC
01:48:27  * ZiNC2^6joined
01:52:05  * ZiNCquit (Ping timeout: 248 seconds)
01:53:20  * ZiNC2^6quit (Ping timeout: 245 seconds)
01:53:43  * Lithuanianquit (Quit: Connection reset by beer)
02:00:07  * ZiNCjoined
02:24:39  * arexusjoined
02:25:01  * c4milojoined
02:29:35  * c4miloquit (Ping timeout: 245 seconds)
02:34:33  * arexusquit (Quit: arexus)
02:36:00  * paulfryzeljoined
02:40:08  * paulfryzelquit (Ping timeout: 245 seconds)
02:40:19  * RT|Chatzillajoined
03:14:41  * juanjosanchezquit (Ping timeout: 246 seconds)
03:15:22  * abraxasjoined
03:19:58  * abraxasquit (Ping timeout: 265 seconds)
03:23:23  * ZiNCquit (Quit: Write error: Peer reset by connection)
03:27:47  * juanjosanchezjoined
03:36:48  * paulfryzeljoined
03:40:58  * paulfryzelquit (Ping timeout: 245 seconds)
03:46:24  * iamdustanjoined
04:13:16  * c4milojoined
04:17:38  * c4miloquit (Ping timeout: 245 seconds)
04:46:34  * jmar777joined
04:50:38  * jmar777quit (Remote host closed the connection)
05:16:18  * abraxasjoined
05:16:57  * iamdustanquit (Ping timeout: 272 seconds)
05:20:37  * abraxasquit (Ping timeout: 252 seconds)
05:30:24  * iamdustanjoined
05:35:08  * iamdustanquit (Ping timeout: 245 seconds)
05:38:21  * paulfryzeljoined
05:42:38  * paulfryzelquit (Ping timeout: 245 seconds)
06:01:26  * c4milojoined
06:05:57  * c4miloquit (Ping timeout: 248 seconds)
06:32:05  * seventhquit (Ping timeout: 248 seconds)
06:36:26  * [[zzz]]quit (Ping timeout: 240 seconds)
06:39:10  * paulfryzeljoined
06:43:28  * paulfryzelquit (Ping timeout: 245 seconds)
06:50:38  * [[zzz]]joined
06:55:42  * abraxasjoined
07:00:27  * abraxasquit (Ping timeout: 272 seconds)
07:07:43  * abraxasjoined
07:11:47  * abraxasquit (Ping timeout: 240 seconds)
07:39:51  * paulfryzeljoined
07:44:18  * paulfryzelquit (Ping timeout: 245 seconds)
07:49:46  * c4milojoined
07:54:39  * c4miloquit (Ping timeout: 272 seconds)
08:17:21  * RT|Chatzillaquit (Read error: Connection reset by peer)
08:19:13  * RT|Chatzillajoined
08:40:35  * paulfryzeljoined
08:44:53  * paulfryzelquit (Ping timeout: 248 seconds)
09:00:16  * arexusjoined
09:10:30  * arexusquit (Quit: arexus)
09:11:11  * Lethalmanjoined
09:38:00  * c4milojoined
09:41:25  * paulfryzeljoined
09:42:11  * c4miloquit (Ping timeout: 240 seconds)
09:45:33  * paulfryzelquit (Ping timeout: 245 seconds)
10:08:59  * [[zzz]]changed nick to [[zz]]
10:42:06  * paulfryzeljoined
10:46:23  * paulfryzelquit (Ping timeout: 245 seconds)
11:00:30  * Lithuanianjoined
11:11:28  * bnoordhuisjoined
11:26:10  * c4milojoined
11:31:04  * c4miloquit (Ping timeout: 264 seconds)
11:39:42  * timg_joined
11:42:55  * paulfryzeljoined
11:47:13  * paulfryzelquit (Ping timeout: 245 seconds)
12:20:53  * Lethalmanquit (Ping timeout: 248 seconds)
12:22:36  * bnoordhuisquit (Ping timeout: 240 seconds)
12:32:48  * Lethalmanjoined
12:43:40  * paulfryzeljoined
12:48:03  * paulfryzelquit (Ping timeout: 245 seconds)
13:11:07  * solublequit (Read error: Connection reset by peer)
13:14:32  * c4milojoined
13:19:07  * c4miloquit (Ping timeout: 252 seconds)
13:33:40  * muellijoined
13:44:25  * paulfryzeljoined
13:48:53  * paulfryzelquit (Ping timeout: 245 seconds)
14:03:38  * bnoordhuisjoined
14:10:04  * bnoordhuisquit (Ping timeout: 264 seconds)
14:29:16  * bnoordhuisjoined
14:45:12  * paulfryzeljoined
14:49:18  * paulfryzelquit (Ping timeout: 245 seconds)
15:00:28  * muelliquit (Ping timeout: 264 seconds)
15:02:54  * c4milojoined
15:07:18  * c4miloquit (Ping timeout: 252 seconds)
15:38:35  * Lethalmanquit (Read error: Connection reset by peer)
15:41:33  * iamdustanjoined
15:43:33  * muellijoined
15:45:58  * paulfryzeljoined
15:50:08  * paulfryzelquit (Ping timeout: 245 seconds)
15:55:25  * iamdustanquit (Ping timeout: 245 seconds)
16:06:27  * RT|Chatzillaquit (Quit: ChatZilla 0.9.86.1 [Firefox 2.0.0.22pre/2009081014])
16:23:44  * seventhjoined
16:46:47  * paulfryzeljoined
16:50:58  * paulfryzelquit (Ping timeout: 245 seconds)
16:51:12  * c4milojoined
16:55:24  * c4miloquit (Ping timeout: 240 seconds)
17:07:33  * bnoordhuisquit (Ping timeout: 272 seconds)
17:12:15  * abraxasjoined
17:16:43  * abraxasquit (Ping timeout: 252 seconds)
17:47:31  * paulfryzeljoined
17:52:04  * paulfryzelquit (Ping timeout: 264 seconds)
18:13:45  * bnoordhuisjoined
18:18:20  * bnoordhuisquit (Ping timeout: 245 seconds)
18:22:50  * c4milojoined
18:38:45  * xan_quit (Ping timeout: 272 seconds)
18:39:20  * paulfryzeljoined
18:55:01  * c4miloquit (Remote host closed the connection)
19:02:21  * Lethalmanjoined
19:05:13  * c4milojoined
19:13:08  * abraxasjoined
19:17:29  * abraxasquit (Ping timeout: 240 seconds)
19:34:41  * xan_joined
19:39:36  * muelliquit (Remote host closed the connection)
20:45:48  * paulfryz_joined
20:48:53  * paulfryzelquit (Ping timeout: 245 seconds)
21:26:11  * Venemojoined
21:39:31  * Lethalmanquit (Ping timeout: 272 seconds)
22:09:13  * bnoordhuisjoined
22:16:29  * jmar777joined
22:25:39  * c4miloquit (Remote host closed the connection)
22:30:33  * RT|Chatzillajoined
22:31:12  * Lithuanianquit (Quit: Connection reset by beer)
22:43:12  * c4milojoined
23:08:25  * Venemoquit (Quit: Communi 1.2.1)