GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Bugs, Fixes, Releases » [FIXED] LmdFit does not compile on MAC
Re: LmdFit does not compile on MAC [message #14692 is a reply to message #14687] Thu, 02 May 2013 16:47 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 Stefano,

shared_ptr is a new functionality of the C++11 standard. So if you want to use it you must tell the compiler to use the new standard.

The real problem is that not all compilers support already the new standard. To make the mess even bigger depending on the compiler and compiler version different features of the new standard are supported. So you can't say easily the gnu compiler collection supports C++11, but you have to check which features are already supported for the used compiler version. The Clang compiler team announced last week that they now fully support all new features.

The only way to use C++11 features I see in the moment is to force the users to use a defined (by the Panda computing coordinator) compiler and compiler version.

Ciao

Florian
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: [FIXED] Error in running in macro runLumi2Reco.C
Next Topic: [INFO] RHO Update done
Goto Forum:
  


Current Time: Sat Dec 14 00:40:40 CET 2024

Total time taken to generate the page: 0.01069 seconds