Re: Compilation: "buffer overflow detected" [message #8468 is a reply to message #8465] |
Fri, 08 May 2009 15:06 |
Ralf Kliemt
Messages: 507 Registered: May 2007 Location: GSI, Darmstadt
|
first-grade participant |
From: *to.infn.it
|
|
Hi Florian,
Looks like we have too long map variable names for some systems. Here what the root guys did:
"pcanal" | Hi,
The problem is most likely the triple!!! nested map:
map<unsigned int,map<string,map<unsigned int,short> > *>
When CINT explicits the 3rd and 4th argument of the maps, the total size name is more than 512 characters!
To solve the problem you need to #define G__LONGBUF
in G__ci.h (and recompile root).
Cheers,
Philippe.
|
Well, we're trying that (I'll report the result).
It is right, that the Mvd code has exactly such kind of nested vectors/maps. Unfortunately the file exists 4 times in root.
Ralf.
[Updated on: Thu, 04 June 2009 11:33] Report message to a moderator
|
|
|