Re: Cant compile head

From: Christian Holm Christensen <cholm_at_nbi.dk>
Date: Mon, 14 May 2007 19:13:32 +0200


hi there,

On Mon, 2007-05-14 at 13:34 +0200, Constantin Loizides wrote:
> Hi,
>
> subject says it all. Compiling fails in roofit.
> Constantin
>
>
> bin/rmkdepend -R -froofitcore/src/G__RooFitCore1.d -Y -w 1000 -- \
> -pipe -Wall -W -Woverloaded-virtual -fPIC -Iinclude -pthread -D__cplusplus -Icint/lib/prec_stl \
> -Icint/stl -- roofitcore/src/G__RooFitCore1.cxx
> g++ -pipe -Wall -W -Woverloaded-virtual -fPIC -Iinclude -pthread -I. -o roofitcore/src/G__RooFitCore1.o -c
> roofitcore/src/G__RooFitCore1.cxx
> ./roofitcore/inc/RooConvCoefVar.h:32: error: expected ‘,’ or ‘...’ before ‘&’ token
> ./roofitcore/inc/RooConvCoefVar.h:32: error: ISO C++ forbids declaration of ‘RooAbsAnaConvPdf’ with no type
> roofitcore/src/G__RooFitCore1.cxx: In function ‘int G__G__RooFitCore1_272_0_2(G__value*, const char*, G__param*, int)’:
> roofitcore/src/G__RooFitCore1.cxx:24523: error: no matching function for call to ‘RooConvCoefVar::RooConvCoefVar(const
> char*, const char*, RooAbsAnaConvPdf&, Int_t, const RooArgSet*)’
> ./roofitcore/inc/RooConvCoefVar.h:33: note: candidates are: RooConvCoefVar::RooConvCoefVar(const RooConvCoefVar&, const
> char*)
> ./roofitcore/inc/RooConvCoefVar.h:32: note: RooConvCoefVar::RooConvCoefVar(const char*, const char*, int)
> ./roofitcore/inc/RooConvCoefVar.h:31: note: RooConvCoefVar::RooConvCoefVar()
> roofitcore/src/G__RooFitCore1.cxx:24528: error: no matching function for call to ‘RooConvCoefVar::RooConvCoefVar(const
> char*, const char*, RooAbsAnaConvPdf&, Int_t, const RooArgSet*)’
> ./roofitcore/inc/RooConvCoefVar.h:33: note: candidates are: RooConvCoefVar::RooConvCoefVar(const RooConvCoefVar&, const
> char*)
> ./roofitcore/inc/RooConvCoefVar.h:32: note: RooConvCoefVar::RooConvCoefVar(const char*, const char*, int)
> ./roofitcore/inc/RooConvCoefVar.h:31: note: RooConvCoefVar::RooConvCoefVar()
> roofitcore/src/G__RooFitCore1.cxx:24536: error: no matching function for call to ‘RooConvCoefVar::RooConvCoefVar(const
> char*, const char*, RooAbsAnaConvPdf&, Int_t)’
> ./roofitcore/inc/RooConvCoefVar.h:33: note: candidates are: RooConvCoefVar::RooConvCoefVar(const RooConvCoefVar&, const
> char*)
> ./roofitcore/inc/RooConvCoefVar.h:32: note: RooConvCoefVar::RooConvCoefVar(const char*, const char*, int)
> ./roofitcore/inc/RooConvCoefVar.h:31: note: RooConvCoefVar::RooConvCoefVar()
> roofitcore/src/G__RooFitCore1.cxx:24540: error: no matching function for call to ‘RooConvCoefVar::RooConvCoefVar(const
> char*, const char*, RooAbsAnaConvPdf&, Int_t)’
> ./roofitcore/inc/RooConvCoefVar.h:33: note: candidates are: RooConvCoefVar::RooConvCoefVar(const RooConvCoefVar&, const
> char*)
> ./roofitcore/inc/RooConvCoefVar.h:32: note: RooConvCoefVar::RooConvCoefVar(const char*, const char*, int)
> ./roofitcore/inc/RooConvCoefVar.h:31: note: RooConvCoefVar::RooConvCoefVar()
> make: *** [roofitcore/src/G__RooFitCore1.o] Error 1

There's a silly typo in the forward declaration of `RooAbsAnaConvPdf':

	class RooAbsAnaConfPdf ;
	                  ^

Should be

	class RooAbsAnaConvPdf ;
	                  ^

Yours,

-- 
 ___  |  Christian Holm Christensen 
  |_| |  -------------------------------------------------------------
    | |  Address: Sankt Hansgade 23, 1. th.  Phone:  (+45) 35 35 96 91
     _|           DK-2200 Copenhagen N       Cell:   (+45) 24 61 85 91
    _|            Denmark                    Office: (+45) 353  25 404
 ____|   Email:   cholm_at_nbi.dk               Web:    www.nbi.dk/~cholm
 | |
Received on Mon May 14 2007 - 19:13:38 CEST

This archive was generated by hypermail 2.2.0 : Tue May 15 2007 - 17:50:02 CEST