Re: reflex with TObject+ClassDef classes

From: Philippe Canal <pcanal_at_fnal.gov>
Date: Wed, 13 Oct 2010 14:44:05 -0500


  Hi Brett,

> Maybe it make sense to modify the ClassImp() macro to surround the body
> with:

I don't see why. The ClassImp must be seen by the compiler in order to work. Whether or not to use ClassImp depend on which dictionary generator you choose and this choice can not be guessed when compiled the source file (which contains the ClassImp macro use).

Cheers,
Philippe.

On 10/13/10 2:40 PM, Brett Viren wrote:
> Philippe Canal<pcanal_at_fnal.gov> writes:
>
>>> that is apparently declared in ClassDef(), namely:
>> Actually it is not declared in ClassDef but in ClassImp.
> Ah, okay, thanks!
>
> Maybe it make sense to modify the ClassImp() macro to surround the body
> with:
>
> #ifdef __CINT__
> ...
> #endif
>
> Regards,
> -Brett.
Received on Wed Oct 13 2010 - 21:44:10 CEST

This archive was generated by hypermail 2.2.0 : Thu Oct 14 2010 - 11:50:01 CEST