[Gate-users] Compilation of gate 6.2
Fernando Rannou
fernando.rannou at usach.cl
Tue Jul 30 17:04:47 CEST 2013
Solved, thanks to Nicolas
templates require now explicit use of this->function() to avoid ambiguities.
So this->insert fixes the problem.
"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"
On Tue, Jul 30, 2013 at 10:47 AM, Fernando Rannou
<fernando.rannou at usach.cl>wrote:
> Now I have resorted to gate_v6.2 with gcc 4.7. I'm getting a new
> compilation error. This time is
>
> [ 7%] Building CXX object
> CMakeFiles/Gate.dir/source/geometry/src/GateMDBFieldReader.cc.o
> In file included from
> /opt/GateInstall_v6.2/gate_v6.2/source/geometry/include/GateMDBFieldDecoder.hh:17:0,
> from
> /opt/GateInstall_v6.2/gate_v6.2/source/geometry/include/GateMDBFieldReader.hh:19,
> from
> /opt/GateInstall_v6.2/gate_v6.2/source/geometry/src/GateMDBFieldReader.cc:19:
> /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]’:
> /opt/GateInstall_v6.2/gate_v6.2/source/geometry/src/GateMDBFieldReader.cc:207:99:
> required from here
> /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]
>
>
>
> SHould I go back to gcc 4.6 or previous?
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20130730/eb743ff3/attachment-0001.html>
More information about the Gate-users
mailing list