Dear Germano,
The trunk was indeed updated with a fix for this problem.
I will make a tag with a patch (2.13a), it should be available on svn by
tomorrow.
Thank you for reporting the problem.
Best regards,
Ivana
On 01/16/2012 12:48 PM, Germano Bonomi wrote:
> Dear VMC users,
> we are having problems in compiling geant4_vmc 2.13 against geant4.9.5.
> We are using Scientific Linux 5.7, geant4.9.5, root v5-32-00-patches_at_42605.
> When using the tar.gz file geant4_vmc.2.13.tar.gz or the
> "svn co https://root.cern.ch/svn/geant4_vmc/tags/v2-13 geant4_vmc"
> we are having the error message listed below.
>
> This messages disappear and everything compile just fine when using the
> trunk version "svn co https://root.cern.ch/svn/geant4_vmc/trunk
> geant4_vmc".
>
> Regards,
> Germano Bonomi (AEgIS experiment)
>
> -----------------------
> Error message:
>
> physics/src/TG4ParticlesChecker.cxx: In member function 'G4bool
> TG4ParticlesChecker::CheckName(G4ParticleDefinition*, TParticlePDG*)
> const':
> physics/src/TG4ParticlesChecker.cxx:203: error: ISO C++ says that these
> are ambiguous, even though the worst conversion for the first is better
> than the worst conversion for the second:
> /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/basic_string.h:702:
> note: candidate 1: typename _Alloc::rebind<_CharT>::other::reference
> std::basic_string<_CharT, _Traits, _Alloc>::operator[](typename
> _Alloc::rebind<_CharT>::other::size_type) [with _CharT = char, _Traits =
> std::char_traits<char>, _Alloc = std::allocator<char>]
> physics/src/TG4ParticlesChecker.cxx:203: note: candidate 2:
> operator[](const char*, int) <built-in>
> make[1]: ***
> [/usr/local/geant4_vmc/source/../tmp/tgt_linux/physics/src/TG4ParticlesChecker.o]
> Error 1
>
-- ============================================================== e-mail: Ivana.Hrivnacova_at_cern.ch address: Institut de Physique Nucléaire, 91406 Orsay, France phone: +33 169156594 ==============================================================Received on Mon Jan 16 2012 - 18:15:14 CET
This archive was generated by hypermail 2.2.0 : Tue Jan 17 2012 - 17:25:01 CET