]> Creatis software - gdcm.git/commitdiff
ENH: Apparently the new Free .Net compiler complains also about the dll heritance...
authormalaterre <malaterre>
Mon, 7 Feb 2005 19:17:27 +0000 (19:17 +0000)
committermalaterre <malaterre>
Mon, 7 Feb 2005 19:17:27 +0000 (19:17 +0000)
Testing/TestWriteSimple.cxx
src/gdcmCommon.h

index fe79c983ddf3cf7c632ece400997683e00feb15a..249c5212b4797b649db52aaa9a22e0697eb000ad 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: TestWriteSimple.cxx,v $
   Language:  C++
-  Date:      $Date: 2005/02/07 18:43:38 $
-  Version:   $Revision: 1.21 $
+  Date:      $Date: 2005/02/07 19:17:27 $
+  Version:   $Revision: 1.22 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -152,7 +152,7 @@ int WriteSimple(Image &img)
                * img.components * img.componentSize / 8;
    unsigned char *imageData = new unsigned char[size];
 
-   // FIXME : find a best heuristic to create the image
+   // FIXME : find a better heuristic to create the image
    unsigned char *tmp = imageData;
    for(int k=0;k<img.sizeZ;k++)
    {
index b4eb0d9614f7edc5ed2c84b68c66511e75be2aab..094ad90cc15b971aafce0a489f877a7630967927 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmCommon.h,v $
   Language:  C++
-  Date:      $Date: 2005/02/06 14:31:09 $
-  Version:   $Revision: 1.60 $
+  Date:      $Date: 2005/02/07 19:17:27 $
+  Version:   $Revision: 1.61 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -27,6 +27,8 @@
 // 'identifier' : class 'type' needs to have dll-interface to be used by
 // clients of class 'type2'
 #pragma warning ( disable : 4251 )
+// non dll-interface class 'type' used as base for dll-interface class 'type2'
+#pragma warning ( disable : 4275 )
 // 'identifier' : identifier was truncated to 'number' characters in the
 // debug information
 #pragma warning ( disable : 4786 )