Re: #define EXTERN problem in DllImport.h possible solution

From: Rene Brun (Rene.Brun@cern.ch)
Date: Thu Aug 20 1998 - 14:50:38 MEST


stefan kluth wrote:
> 
> Hi,
> 
> I recently posted a message about a clash in #define EXTERN between root
> and tcl. A compiler hint I got when I tried my code on a Sun was to use
> 
> #undef EXTERN
> 
> before #define EXTERN.
> 
> This could be implemented in DllImport.h without harm I believe.
> 
> Does this make sense? Stefan

Hi Stefan,
As already announced to this list, I have changed EXTERN to R__EXTERN
in the development version.
What we could do for an interim period of one release is
to support EXTERN as it was if EXTERN is not already defined
in addition to R__EXTERN. Then the definition of EXTERN could be
removed. 

Rene Brun



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:34:36 MET