<div dir="ltr"><div>Solved, thanks to Nicolas<br><br></div><div>templates require now explicit use of this->function() to avoid ambiguities.<br><br></div><div>So this->insert fixes the problem.<br></div><div><br></div>
<div><div><br>"ese es facil los templates piden ahora explicitamente usar
this->function() para evitar ambiguedad ese parche yo lo tengo en
nuestro gate tiene que solo agregarle el this-> adelante de la
funcion inser" </div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jul 30, 2013 at 10:47 AM, Fernando Rannou <span dir="ltr"><<a href="mailto:fernando.rannou@usach.cl" target="_blank">fernando.rannou@usach.cl</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>Now I have resorted to gate_v6.2 with gcc 4.7. I'm getting a new<br></div>compilation error. This time is<br>
<br>[ 7%] Building CXX object CMakeFiles/Gate.dir/source/geometry/src/GateMDBFieldReader.cc.o<br>
In file included from /opt/GateInstall_v6.2/gate_v6.2/source/geometry/include/GateMDBFieldDecoder.hh:17:0,<br> from /opt/GateInstall_v6.2/gate_v6.2/source/geometry/include/GateMDBFieldReader.hh:19,<br> from /opt/GateInstall_v6.2/gate_v6.2/source/geometry/src/GateMDBFieldReader.cc:19:<br>
/opt/GateInstall_v6.2/gate_v6.2/source/digits_hits/include/GateMaps.hh: In instantiation of ‘GateMap<Tkey, Tvalue>::GateMap(size_t, GateMap<Tkey, Tvalue>**) [with Tkey = G4String; Tvalue = int; size_t = long unsigned int]’:<br>
/opt/GateInstall_v6.2/gate_v6.2/source/geometry/src/GateMDBFieldReader.cc:207:99: required from here<br>/opt/GateInstall_v6.2/gate_v6.2/source/digits_hits/include/GateMaps.hh:120:7: error: ‘insert’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]<br>
<br><br><br></div>SHould I go back to gcc 4.6 or previous?<br></div>
</blockquote></div><br></div>