RE:Change in dicrtionary with new version o

From: Christian Holm Christensen (cholm@hehi03.nbi.dk)
Date: Mon Feb 21 2000 - 16:48:21 MET


Hi Masa et al, 

On Mon, 21 Feb 2000 19:51:06 +0900 Masaharu Goto <MXJ02154@nifty.ne.jp> wrote:
> Hello Fons,
> 
> I forgot to mention this big change in cint5.14.31. 
> 
> There was a request that shared library should automatically load
> all the standard header files loaded in the precompiled header file.
> 
> All the files started by '<' are standard header files to be loaded
> with the shared library.  This is intentional. 

I'm not convinced this is generally true. I like to compile my libs,
etc, using the `-I./' switch (using GCC ofcourse), and exclusively use
the `#include <...>' preprocessor derictive. Even you use the
directive `#include "..."' for the user headers, you may include
header files with `#include <...>' which isn't standard headers in a
strict sense. E.g., you may include the ROOT header `#include
<Rtypes.h>', but this really isn't a standard header (and ROOT already
knows the declerations in this header). 

> I belive this is a good feature. So far, I have not found any side-effect,
> but potential risk is there.  Please report me any problems. If you find
> one, define  G__OLDIMPLEMENTATION1271  in G__ci.h  to deactivate the feature.

I disagree. I think it should be the responsoblility of the user,
rather then the programmer, to include the prober header files, as is
the case of normal developing.  

Anyway, that's my two cents worth. 

Oh, and let me take this oppertunity for complementing you on your
spectacular feat of creating CINT. Thanks a lot!

Christian  -----------------------------------------------------------
Holm Christensen                             Phone:  (+45) 35 35 96 91 
  Sankt Hansgade 23, 1. th.                  Office: (+45) 353  25 305 
  DK-2200 Copenhagen N                       Web:    www.nbi.dk/~cholm    
  Denmark                                    Email:       cholm@nbi.dk
  



This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:19 MET