<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;"><br>
Hi,<br>
<br>
I've just tryed to build gate (developpment branche from http://git.opengatecollaboration.org/git/opengate-public.git) using geant 4-9.6.2 and it almost build completely.<br>
<br>
So if it can be of any help, here are my findings:<br>
<br>
Only one single file fails to build with the fiollowing error:<br>
<br>
Building CXX object CMakeFiles/Gate.dir/source/physics/src/GateBinaryCascade.cc.o<br>
/home/ol222822/rpmbuild/BUILD/gate_v6.3pre/source/physics/src/GateBinaryCascade.cc: In member function ‘G4Fragment* GateBinaryCascade::FindFragments()’:<br>
/home/ol222822/rpmbuild/BUILD/gate_v6.3pre/source/physics/src/GateBinaryCascade.cc:2281: erreur: conversion from ‘int’ to non-scalar type ‘G4LorentzVector’ requested<br>
/home/ol222822/rpmbuild/BUILD/gate_v6.3pre/source/physics/src/GateBinaryCascade.cc: In member function ‘G4LorentzVector GateBinaryCascade::GetFinalNucleusMomentum()’:<br>
/home/ol222822/rpmbuild/BUILD/gate_v6.3pre/source/physics/src/GateBinaryCascade.cc:2395: erreur: conversion from ‘int’ to non-scalar type ‘G4LorentzVector’ requested<br>
make[2]: *** [CMakeFiles/Gate.dir/source/physics/src/GateBinaryCascade.cc.o] Erreur 1<br>
<br>
<div>Unfortunately I'm not skilled enough to fix this (no skills in C++ )<br>
<br>
Aside that, most of warning are gone except a few ones (3 files impacted):<br>
<br>
Building CXX object CMakeFiles/Gate.dir/source/general/src/GateAnalyzeHeader.cc.o
<br>
/home/ol222822/rpmbuild/BUILD/gate_v6.3pre/source/general/src/GateAnalyzeHeader.cc: In member function ‘bool GateAnalyzeHeader::Write(const G4String&)’:<br>
/home/ol222822/rpmbuild/BUILD/gate_v6.3pre/source/general/src/GateAnalyzeHeader.cc:280: attention : ignoring return value of ‘size_t fwrite(const void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result<br>
/home/ol222822/rpmbuild/BUILD/gate_v6.3pre/source/general/src/GateAnalyzeHeader.cc:281: attention : ignoring return value of ‘size_t fwrite(const void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result<br>
/home/ol222822/rpmbuild/BUILD/gate_v6.3pre/source/general/src/GateAnalyzeHeader.cc:282: attention : ignoring return value of ‘size_t fwrite(const void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result<br>
/home/ol222822/rpmbuild/BUILD/gate_v6.3pre/source/general/src/GateAnalyzeHeader.cc:283: attention : ignoring return value of ‘size_t fwrite(const void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result<br>
/home/ol222822/rpmbuild/BUILD/gate_v6.3pre/source/general/src/GateAnalyzeHeader.cc:284: attention : ignoring return value of ‘size_t fwrite(const void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result<br>
/home/ol222822/rpmbuild/BUILD/gate_v6.3pre/source/general/src/GateAnalyzeHeader.cc:285: attention : ignoring return value of ‘size_t fwrite(const void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result<br>
/home/ol222822/rpmbuild/BUILD/gate_v6.3pre/source/general/src/GateAnalyzeHeader.cc:286: attention : ignoring return value of ‘size_t fwrite(const void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result<br>
/home/ol222822/rpmbuild/BUILD/gate_v6.3pre/source/general/src/GateAnalyzeHeader.cc:288: attention : ignoring return value of ‘size_t fwrite(const void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result<br>
/home/ol222822/rpmbuild/BUILD/gate_v6.3pre/source/general/src/GateAnalyzeHeader.cc:289: attention : ignoring return value of ‘size_t fwrite(const void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result<br>
/home/ol222822/rpmbuild/BUILD/gate_v6.3pre/source/general/src/GateAnalyzeHeader.cc:290: attention : ignoring return value of ‘size_t fwrite(const void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result<br>
/home/ol222822/rpmbuild/BUILD/gate_v6.3pre/source/general/src/GateAnalyzeHeader.cc:291: attention : ignoring return value of ‘size_t fwrite(const void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result<br>
/home/ol222822/rpmbuild/BUILD/gate_v6.3pre/source/general/src/GateAnalyzeHeader.cc:292: attention : ignoring return value of ‘size_t fwrite(const void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result<br>
/home/ol222822/rpmbuild/BUILD/gate_v6.3pre/source/general/src/GateAnalyzeHeader.cc:293: attention : ignoring return value of ‘size_t fwrite(const void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result<br>
/home/ol222822/rpmbuild/BUILD/gate_v6.3pre/source/general/src/GateAnalyzeHeader.cc:294: attention : ignoring return value of ‘size_t fwrite(const void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result<br>
/home/ol222822/rpmbuild/BUILD/gate_v6.3pre/source/general/src/GateAnalyzeHeader.cc:295: attention : ignoring return value of ‘size_t fwrite(const void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result<br>
/home/ol222822/rpmbuild/BUILD/gate_v6.3pre/source/general/src/GateAnalyzeHeader.cc:296: attention : ignoring return value of ‘size_t fwrite(const void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result<br>
/home/ol222822/rpmbuild/BUILD/gate_v6.3pre/source/general/src/GateAnalyzeHeader.cc:297: attention : ignoring return value of ‘size_t fwrite(const void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result<br>
/home/ol222822/rpmbuild/BUILD/gate_v6.3pre/source/general/src/GateAnalyzeHeader.cc:298: attention : ignoring return value of ‘size_t fwrite(const void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result<br>
/home/ol222822/rpmbuild/BUILD/gate_v6.3pre/source/general/src/GateAnalyzeHeader.cc:299: attention : ignoring return value of ‘size_t fwrite(const void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result<br>
/home/ol222822/rpmbuild/BUILD/gate_v6.3pre/source/general/src/GateAnalyzeHeader.cc:300: attention : ignoring return value of ‘size_t fwrite(const void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result<br>
/home/ol222822/rpmbuild/BUILD/gate_v6.3pre/source/general/src/GateAnalyzeHeader.cc:301: attention : ignoring return value of ‘size_t fwrite(const void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result<br>
/home/ol222822/rpmbuild/BUILD/gate_v6.3pre/source/general/src/GateAnalyzeHeader.cc:302: attention : ignoring return value of ‘size_t fwrite(const void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result<br>
/home/ol222822/rpmbuild/BUILD/gate_v6.3pre/source/general/src/GateAnalyzeHeader.cc:303: attention : ignoring return value of ‘size_t fwrite(const void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result<br>
/home/ol222822/rpmbuild/BUILD/gate_v6.3pre/source/general/src/GateAnalyzeHeader.cc:304: attention : ignoring return value of ‘size_t fwrite(const void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result<br>
/home/ol222822/rpmbuild/BUILD/gate_v6.3pre/source/general/src/GateAnalyzeHeader.cc:305: attention : ignoring return value of ‘size_t fwrite(const void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result<br>
/home/ol222822/rpmbuild/BUILD/gate_v6.3pre/source/general/src/GateAnalyzeHeader.cc:307: attention : ignoring return value of ‘size_t fwrite(const void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result<br>
/home/ol222822/rpmbuild/BUILD/gate_v6.3pre/source/general/src/GateAnalyzeHeader.cc:308: attention : ignoring return value of ‘size_t fwrite(const void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result<br>
/home/ol222822/rpmbuild/BUILD/gate_v6.3pre/source/general/src/GateAnalyzeHeader.cc:309: attention : ignoring return value of ‘size_t fwrite(const void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result<br>
/home/ol222822/rpmbuild/BUILD/gate_v6.3pre/source/general/src/GateAnalyzeHeader.cc:310: attention : ignoring return value of ‘size_t fwrite(const void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result<br>
/home/ol222822/rpmbuild/BUILD/gate_v6.3pre/source/general/src/GateAnalyzeHeader.cc:311: attention : ignoring return value of ‘size_t fwrite(const void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result<br>
/home/ol222822/rpmbuild/BUILD/gate_v6.3pre/source/general/src/GateAnalyzeHeader.cc:312: attention : ignoring return value of ‘size_t fwrite(const void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result<br>
/home/ol222822/rpmbuild/BUILD/gate_v6.3pre/source/general/src/GateAnalyzeHeader.cc:313: attention : ignoring return value of ‘size_t fwrite(const void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result<br>
/home/ol222822/rpmbuild/BUILD/gate_v6.3pre/source/general/src/GateAnalyzeHeader.cc:314: attention : ignoring return value of ‘size_t fwrite(const void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result<br>
/home/ol222822/rpmbuild/BUILD/gate_v6.3pre/source/general/src/GateAnalyzeHeader.cc:315: attention : ignoring return value of ‘size_t fwrite(const void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result<br>
/home/ol222822/rpmbuild/BUILD/gate_v6.3pre/source/general/src/GateAnalyzeHeader.cc:316: attention : ignoring return value of ‘size_t fwrite(const void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result<br>
/home/ol222822/rpmbuild/BUILD/gate_v6.3pre/source/general/src/GateAnalyzeHeader.cc:317: attention : ignoring return value of ‘size_t fwrite(const void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result<br>
/home/ol222822/rpmbuild/BUILD/gate_v6.3pre/source/general/src/GateAnalyzeHeader.cc:318: attention : ignoring return value of ‘size_t fwrite(const void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result<br>
/home/ol222822/rpmbuild/BUILD/gate_v6.3pre/source/general/src/GateAnalyzeHeader.cc:319: attention : ignoring return value of ‘size_t fwrite(const void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result<br>
/home/ol222822/rpmbuild/BUILD/gate_v6.3pre/source/general/src/GateAnalyzeHeader.cc:320: attention : ignoring return value of ‘size_t fwrite(const void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result<br>
/home/ol222822/rpmbuild/BUILD/gate_v6.3pre/source/general/src/GateAnalyzeHeader.cc:321: attention : ignoring return value of ‘size_t fwrite(const void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result<br>
/home/ol222822/rpmbuild/BUILD/gate_v6.3pre/source/general/src/GateAnalyzeHeader.cc:322: attention : ignoring return value of ‘size_t fwrite(const void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result<br>
/home/ol222822/rpmbuild/BUILD/gate_v6.3pre/source/general/src/GateAnalyzeHeader.cc:323: attention : ignoring return value of ‘size_t fwrite(const void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result<br>
/home/ol222822/rpmbuild/BUILD/gate_v6.3pre/source/general/src/GateAnalyzeHeader.cc:324: attention : ignoring return value of ‘size_t fwrite(const void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result<br>
<br>
=====<br>
<br>
Building CXX object CMakeFiles/Gate.dir/source/general/src/GateIDFilter.cc.o
<br>
/home/ol222822/rpmbuild/BUILD/gate_v6.3pre/source/general/src/GateIAEAUtilities.cc: In function ‘int copy(char*, char*)’:<br>
/home/ol222822/rpmbuild/BUILD/gate_v6.3pre/source/general/src/GateIAEAUtilities.cc:447: attention : ignoring return value of ‘size_t fwrite(const void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result<br>
<br>
=====<br>
<br>
Building CXX object CMakeFiles/Gate.dir/source/general/src/GateVisManager.cc.o<br>
In file included from /home/ol222822/rpmbuild/BUILD/gate_v6.3pre/source/general/src/GateUIterminal.cc:15:<br>
/usr/include/Geant4/G4UIterminal.hh:98: attention : ‘virtual G4int G4UIterminal::ReceiveG4cout(const G4String&)’ was hidden<br>
/home/ol222822/rpmbuild/BUILD/gate_v6.3pre/source/general/include/GateUIterminal.hh:46: attention : by ‘virtual G4int GateUIterminal::ReceiveG4cout(G4String)’<br>
/usr/include/Geant4/G4UIterminal.hh:99: attention : ‘virtual G4int G4UIterminal::ReceiveG4cerr(const G4String&)’ was hidden<br>
/home/ol222822/rpmbuild/BUILD/gate_v6.3pre/source/general/include/GateUIterminal.hh:47: attention : by ‘virtual G4int GateUIterminal::ReceiveG4cerr(G4String)’<br>
<br>
Regards,<br>
<br>
Olivier.<br>
<br>
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px"><font face="Tahoma">-- <br>
Olivier LAHAYE<br>
CEA DRT/LIST/DM2I/DIR</font><br>
</div>
</div>
</div>
</div>
</div>
</body>
</html>