Hi Roger,

thank you for the patch!

Committed revision 37011.

Greetings,
  René

On Jul 29, 2010, at 11:19 PM, Roger Mason wrote:

> Hello,
> 
> Here is a patch that fixes a problem compiling ROOT that I reported this
> morning on IRC.  I got the patch here:
> http://bugs.gentoo.org/attachment.cgi?id=221261&action=edit
> 
> Cheers,
> Roger
> 
> diff --git a/math/mathcore/src/TMath.cxx b/math/mathcore/src/TMath.cxx
> index 65e051e..c3358d8 100644
> --- a/math/mathcore/src/TMath.cxx
> +++ b/math/mathcore/src/TMath.cxx
> @@ -40,6 +40,27 @@ NamespaceImp(TMath)
> #endif
> 
> namespace TMath {
> +   namespace ROOT {
> +      inline ::ROOT::TGenericClassInfo *GenerateInitInstance();
> +      static void TMath_Dictionary();
> +
> +      // Function generating the singleton type initializer
> +      inline ::ROOT::TGenericClassInfo *GenerateInitInstance()
> +      {
> +         static ::ROOT::TGenericClassInfo 
> +            instance("TMath", 0 /*version*/, "include/TMath.h", 36,
> +                     ::ROOT::DefineBehavior((void*)0,(void*)0),
> +                     &TMath_Dictionary, 0);
> +         return &instance;
> +      }
> +      // Static variable to force the class initialization
> +      static ::ROOT::TGenericClassInfo *_R__UNIQUE_(Init) = 
> GenerateInitInstance(); R__UseDummy(_R__UNIQUE_(Init));
> +
> +      // Dictionary for non-ClassDef classes
> +      static void TMath_Dictionary() {
> +         GenerateInitInstance()->GetClass();
> +      }
> +   }
> 
>    Double_t GamCf(Double_t a,Double_t x);
>    Double_t GamSer(Double_t a,Double_t x);
> diff --git a/math/matrix/src/TMatrixTCramerInv.cxx 
> b/math/matrix/src/TMatrixTCramerInv.cxx
> index f7bac8a..7f346f8 100644
> --- a/math/matrix/src/TMatrixTCramerInv.cxx
> +++ b/math/matrix/src/TMatrixTCramerInv.cxx
> @@ -38,6 +38,31 @@
> NamespaceImp(TMatrixTCramerInv);
> #endif
> 
> +namespace TMatrixTCramerInv {
> +   namespace ROOT {
> +      inline ::ROOT::TGenericClassInfo *GenerateInitInstance();
> +      static void TMatrixTCramerInv_Dictionary();
> +
> +      // Function generating the singleton type initializer
> +      inline ::ROOT::TGenericClassInfo *GenerateInitInstance()
> +      {
> +         static ::ROOT::TGenericClassInfo 
> +            instance("TMatrixTCramerInv", 0 /*version*/, 
> "include/TMatrixTCramerInv.h", 34,
> +                     ::ROOT::DefineBehavior((void*)0,(void*)0),
> +                     &TMatrixTCramerInv_Dictionary, 0);
> +         return &instance;
> +      }
> +      // Static variable to force the class initialization
> +      static ::ROOT::TGenericClassInfo *_R__UNIQUE_(Init) = 
> GenerateInitInstance(); R__UseDummy(_R__UNIQUE_(Init));
> +
> +      // Dictionary for non-ClassDef classes
> +      static void TMatrixTCramerInv_Dictionary() {
> +         GenerateInitInstance()->GetClass();
> +      }
> +
> +   }
> +}
> +
> //______________________________________________________________________________
> template<class Element> 
> Bool_t TMatrixTCramerInv::Inv2x2(TMatrixT<Element> &m,Double_t *determ)
> diff --git a/math/matrix/src/TMatrixTSymCramerInv.cxx 
> b/math/matrix/src/TMatrixTSymCramerInv.cxx
> index ba38f22..067c899 100644
> --- a/math/matrix/src/TMatrixTSymCramerInv.cxx
> +++ b/math/matrix/src/TMatrixTSymCramerInv.cxx
> @@ -38,6 +38,31 @@
> NamespaceImp(TMatrixTSymCramerInv);
> #endif
> 
> +namespace TMatrixTSymCramerInv {
> +   namespace ROOT {
> +      inline ::ROOT::TGenericClassInfo *GenerateInitInstance();
> +      static void TMatrixTSymCramerInv_Dictionary();
> +
> +      // Function generating the singleton type initializer
> +      inline ::ROOT::TGenericClassInfo *GenerateInitInstance()
> +      {
> +         static ::ROOT::TGenericClassInfo 
> +            instance("TMatrixTSymCramerInv", 0 /*version*/, 
> "include/TMatrixTSymCramerInv.h", 34,
> +                     ::ROOT::DefineBehavior((void*)0,(void*)0),
> +                     &TMatrixTSymCramerInv_Dictionary, 0);
> +         return &instance;
> +      }
> +      // Static variable to force the class initialization
> +      static ::ROOT::TGenericClassInfo *_R__UNIQUE_(Init) = 
> GenerateInitInstance(); R__UseDummy(_R__UNIQUE_(Init));
> +
> +      // Dictionary for non-ClassDef classes
> +      static void TMatrixTSymCramerInv_Dictionary() {
> +         GenerateInitInstance()->GetClass();
> +      }
> +
> +   }
> +}
> +
> //______________________________________________________________________________
> template<class Element> 
> Bool_t TMatrixTSymCramerInv::Inv2x2(TMatrixTSym<Element> &m,Double_t *determ)
> ----------------------------------------------------------- 
> If you wish to unsubscribe from this mailing, send mail to
> [email protected] with a subject of: unsubscribe t2

-- 
  René Rebe, ExactCODE GmbH, Jaegerstr. 67, DE-10117 Berlin
  http://exactcode.com | http://t2-project.org | http://rene.rebe.de

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[email protected] with a subject of: unsubscribe t2

Reply via email to