[vtk-developers] Error in kwsys/Configure.h.in

Marcus D. Hanwell marcus.hanwell at kitware.com
Wed Jan 6 15:34:21 EST 2010


On Wednesday 06 January 2010 15:28:26 Moreland, Kenneth wrote:
> Marcus,
> 
> I think you made an error in your last change to kwsys/Configure.h.in.  It
>  causes compile errors when compiling with shared libraries on with a
>  compile that is not windows and not GCC version 4 or greater.  It fails to
>  set the export macro.  I think the following diff fixes the problem.
> 
> Index: Configure.h.in
> ===================================================================
> RCS file: /cvsroot/VTK/VTK/Utilities/kwsys/Configure.h.in,v
> retrieving revision 1.17
> diff -u -r1.17 Configure.h.in
> --- Configure.h.in      6 Jan 2010 17:00:36 -0000       1.17
> +++ Configure.h.in      6 Jan 2010 20:14:42 -0000
> @@ -97,6 +97,8 @@
>  #  endif
>  # elif __GNUC__ >= 4
>  #  define @KWSYS_NAMESPACE at _EXPORT __attribute__ ((visibility("default")))
> +# else
> +#  define @KWSYS_NAMESPACE at _EXPORT
>  # endif
>  #else
>  # define @KWSYS_NAMESPACE at _EXPORT
> 
> Please fix this today or several dashboards are going to break tonight.
> 
Sorry about that - I will test and check that in now. 

Marcus
-- 
Marcus D. Hanwell, Ph.D.
R&D Engineer, Kitware Inc.
(518) 881-4937



More information about the vtk-developers mailing list