GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Bugs, Fixes, Releases » compilation of macros
Re: compilation of macros [message #9837 is a reply to message #9831] Wed, 02 December 2009 17:19 Go to previous messageGo to previous message
Bertram Kopf is currently offline  Bertram Kopf
Messages: 110
Registered: March 2006
continuous participant
From: *ep1.ruhr-uni-bochum.de
Hi all,
meanwhile, I tried to compile the second emc macro "digi_emc.C". It didn't compile since "TString parFile" is declared twice within the macro. This is definitely a bug, even though the original macro w/o the compilation procedure seems to run properly. Can somebody tell me, why the non-compiled macro is running at all. No c++ compiler would accept such kind of code.
After getting rid of the second declaration everything works fine.

Cheers,
Bertram.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: TPC geant4
Next Topic: Small bug with cmake/config.sh
Goto Forum:
  


Current Time: Sun Dec 05 12:19:42 CET 2021

Total time taken to generate the page: 0.02564 seconds