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

Moreland, Kenneth kmorel at sandia.gov
Wed Jan 6 15:28:26 EST 2010


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.

-Ken

   ****      Kenneth Moreland
    ***      Sandia National Laboratories
***********
*** *** ***  email: kmorel at sandia.gov
**  ***  **  phone: (505) 844-8919
    ***      web:   http://www.cs.unm.edu/~kmorel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20100106/de19cf8e/attachment.html>


More information about the vtk-developers mailing list