GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Bugs, Fixes, Releases » compilation of macros
Re: compilation of macros [message #9835 is a reply to message #9834] Wed, 02 December 2009 10:50 Go to previous messageGo to previous message
Florian Uhlig is currently offline  Florian Uhlig
Messages: 424
Registered: May 2007
first-grade participant
From: *gsi.de
Hi Bertram

If the order of the header files is not correct the you can end up in realy funny situations. This is exactely what you saw here.
The header file of the PndDrc class was not correct but the error was hidden by the incorrect order in the source file.

The rule of thumb is to order the header files from local to global. That means start with the header file for the class, then
the header files for the module, then the header files for the project, the all other header files and in the end the system header files.

Ciao

Florian
 
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: Fri Apr 19 19:36:40 CEST 2024

Total time taken to generate the page: 0.01048 seconds