| Summary: | Warning Messages on Compilation | ||
|---|---|---|---|
| Product: | Geant4 | Reporter: | Jonathan Corbett <15jtc> |
| Component: | cmake | Assignee: | Gabriele Cosmo <Gabriele.Cosmo> |
| Status: | RESOLVED WORKSFORME | ||
| Severity: | minor | CC: | 15jtc |
| Priority: | P4 | ||
| Version: | 10.4 | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Attachments: | Build Log with a couple warning messages | ||
Thanks for reporting this. Those are warnings you can safely ignore and usually are not reported in normal configurations of the gcc compiler. This is because your system has eventually configured gcc with -Wunused-result set as default also for C system functions. Will in any case try to clear them in the code. |
Created attachment 499 [details] Build Log with a couple warning messages Hello, I'm relatively new to G4 and recently started, but I was told that since I get warning messages when I "make" G4 I should make a post about it. My G4 version is 10.04.p01 I am dual booting my laptop running and the output on uname -a in my terminal is: Linux jonathan-HP-Pavilion-Notebook 4.15.0-23-generic #25-Ubuntu SMP Wed May 23 18:02:16 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux When I navigate to settings->About it says "Ubuntu 18.04 LTS" My g++ compiler (ie. the output of g++ --version) is: g++ (Ubuntu 7.3.0-16ubuntu3) 7.3.0 I have attached a log of my G4 make (I ran the command make clean all > g4build.log 2>&1). Also, some flags which I had on when I made were: GEANT4_INSTALL_DATA = ON GEANT4_USE_OPENGL_X11 = ON GEANT4_USE_RAYTRACER_X11 = ON GEANT4_USE_SYSTEM_EXPAT = ON G4 made successfully, but there were a few warning messages.