]> Creatis software - gdcm.git/blobdiff - src/gdcmTS.cxx
Avoid warnings on C/C++ syle comments
[gdcm.git] / src / gdcmTS.cxx
index 399b2b03ecdb86357e91415badaa60753280d789..96e9cb562ccfa99d3809d8f54915dbf9c0e27090 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmTS.cxx,v $
   Language:  C++
-  Date:      $Date: 2005/09/20 09:09:43 $
-  Version:   $Revision: 1.50 $
+  Date:      $Date: 2005/10/26 08:04:16 $
+  Version:   $Revision: 1.52 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -75,7 +75,8 @@ static const char *SpecialStrings[] =  {
   // MPEG2 Main Profile @ Main Level
   "1.2.840.10008.1.2.4.100",
   // Unknown
-  "Unknown Transfer Syntax"
+  "Unknown Transfer Syntax", // Pretty sure we never use this case...
+  NULL // Compilers have no obligation to finish by NULL, do it ourself
 };
 
 //-----------------------------------------------------------------------------
@@ -345,7 +346,7 @@ const char* TS::GetSpecialTransferSyntax(SpecialType t)
  * \brief   Print all 
  * @param   os The output stream to be written to.
  */
-void TS::Print(std::ostream &os
+void TS::Print(std::ostream &os,std::string const &)
 {
    std::ostringstream s;