Message: Compilation warning on G4RunManager class Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Compilation warning on G4RunManager class 

Forum: Run Management
Date: 28 Jun, 2011
From: Thomas Zerguerras <Thomas Zerguerras>

Good afternoon,

I upgraded some of my applications from Geant4 v9.1 to v9.3p02, installed on Ubuntu Lucid (10.04).

When compiling for the first time with v9.3p02 (after performing a make clean) I have this kind of Warning message:

" In file included from EXL.cc:11: /usr/physics/geant4/pro/source/run/include/G4RunManager.hh: In member function ‘void G4RunManager::SetRandomNumberStoreDir(const G4String&)’: /usr/physics/geant4/pro/source/run/include/G4RunManager.hh:357: warning: ignoring return value of ‘int system(const char*)’, declared with attribute warn_unused_result "

Here the EXL.cc is the main program, where the runManager is called.

At the execution, the program is running without any crash or error.

What is the meaning of such a warning message ? Can I do something to avoid it ?

Thanks a lot for your help,

Regards,

             Thomas

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 Feedback: Re: Compilation warning on G4RunManager class   (Gumplinger Peter - 28 Jun, 2011)
(_ Question: Re: Compilation warning on G4RunManager class   (Thomas Zerguerras - 29 Jun, 2011)
 Add Message Add Message
to: "Compilation warning on G4RunManager class"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]